[pypy-svn] r53251 - pypy/branch/js-refactoring/pypy/lang/js

fijal at codespeak.net fijal at codespeak.net
Wed Apr 2 05:41:09 CEST 2008


Author: fijal
Date: Wed Apr  2 05:41:09 2008
New Revision: 53251

Modified:
   pypy/branch/js-refactoring/pypy/lang/js/jscode.py
Log:
be explicit about that


Modified: pypy/branch/js-refactoring/pypy/lang/js/jscode.py
==============================================================================
--- pypy/branch/js-refactoring/pypy/lang/js/jscode.py	(original)
+++ pypy/branch/js-refactoring/pypy/lang/js/jscode.py	Wed Apr  2 05:41:09 2008
@@ -389,20 +389,25 @@
         left = stack.pop()
         elem = stack.pop()
         value = stack.pop()
+        self.operation()
         left.Put(elem.ToString(), value)
         stack.append(left)
 
 class STORE_MEMBER(BaseStoreMember):
-    pass
+    def operation(self):
+        pass
 
 class STORE_MEMBER_POSTINCR(BaseStoreMember):
-    pass
+    def operation(self):
+        raise NotImplementedError
 
 class STORE_MEMBER_PREINCR(BaseStoreMember):
-    pass
+    def operation(self):
+        raise NotImplementedError    
 
 class STORE_MEMBER_SUB(BaseStoreMember):
-    pass
+    def operation(self):
+        raise NotImplementedError
 
 class BaseStore(Opcode):
     def __init__(self, name):


More information about the pypy-svn mailing list