Author: Stephan <[email protected]>
Branch: 
Changeset: r148:c0aafde23a9c
Date: 2011-11-02 13:08 +0100
http://bitbucket.org/pypy/lang-js/changeset/c0aafde23a9c/

Log:    delete unused opcode LOAD_REALVAR

diff --git a/js/opcodes.py b/js/opcodes.py
--- a/js/opcodes.py
+++ b/js/opcodes.py
@@ -120,21 +120,6 @@
     def __repr__(self):
         return 'LOAD_VARIABLE "%s"' % (self.identifier,)
 
-class LOAD_REALVAR(Opcode):
-    def __init__(self, depth, identifier):
-        self.depth = depth
-        self.identifier = identifier
-
-    def eval(self, ctx):
-        raise NotImplementedError()
-        # XXX
-        # scope = ctx.scope[self.depth]
-        # stack.append(scope.Get(ctx, self.identifier))
-        #stack.append(W_Reference(self.identifier, scope))
-
-    def __repr__(self):
-        return 'LOAD_VARIABLE "%s"' % (self.identifier,)
-
 class LOAD_ARRAY(Opcode):
     def __init__(self, counter):
         self.counter = counter
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to