[pypy-commit] pypy framestate: remove superseded FSFrame opcode methods
rlamy
noreply at buildbot.pypy.org
Mon Nov 24 17:29:51 CET 2014
Author: Ronan Lamy <ronan.lamy at gmail.com>
Branch: framestate
Changeset: r74681:986166f4326e
Date: 2013-08-11 21:37 +0100
http://bitbucket.org/pypy/pypy/changeset/986166f4326e/
Log: remove superseded FSFrame opcode methods
diff --git a/rpython/flowspace/flowcontext.py b/rpython/flowspace/flowcontext.py
--- a/rpython/flowspace/flowcontext.py
+++ b/rpython/flowspace/flowcontext.py
@@ -665,9 +665,6 @@
block = self.blockstack.pop()
block.cleanupstack(self) # the block knows how to clean up the value stack
- def JUMP_ABSOLUTE(self, jumpto):
- pass
-
def YIELD_VALUE(self, _):
assert self.pycode.is_generator
w_result = self.popvalue()
@@ -688,9 +685,6 @@
def PRINT_NEWLINE(self, oparg):
self.appcall(rpython_print_newline)
- def JUMP_FORWARD(self, target):
- pass
-
def JUMP_IF_FALSE(self, target):
# Python <= 2.6 only
w_cond = self.peekvalue()
@@ -793,10 +787,6 @@
raise FlowingError("Local variable referenced before assignment")
self.pushvalue(w_value)
- def LOAD_CONST(self, constant):
- w_const = const(constant)
- self.pushvalue(w_const)
-
def find_global(self, w_globals, varname):
try:
value = w_globals.value[varname]
More information about the pypy-commit
mailing list