Author: Alex Gaynor <[email protected]>
Branch: 
Changeset: r67630:bee44e32191e
Date: 2013-10-26 10:35 -0700
http://bitbucket.org/pypy/pypy/changeset/bee44e32191e/

Log:    random cleanup

diff --git a/pypy/interpreter/pyopcode.py b/pypy/interpreter/pyopcode.py
--- a/pypy/interpreter/pyopcode.py
+++ b/pypy/interpreter/pyopcode.py
@@ -5,9 +5,9 @@
 """
 
 from rpython.rlib import jit, rstackovf
+from rpython.rlib.debug import check_nonneg
 from rpython.rlib.objectmodel import we_are_translated
 from rpython.rlib.rarithmetic import r_uint, intmask
-from rpython.rlib.debug import check_nonneg
 from rpython.tool.sourcetools import func_with_new_name
 
 from pypy.interpreter import (
@@ -142,7 +142,6 @@
 
     @jit.unroll_safe
     def dispatch_bytecode(self, co_code, next_instr, ec):
-        space = self.space
         while True:
             self.last_instr = intmask(next_instr)
             if not jit.we_are_jitted():
@@ -735,7 +734,6 @@
         space = self.space
         if nbargs == 0:
             frame = self
-            ec = self.space.getexecutioncontext()
             while frame:
                 if frame.last_exception is not None:
                     operror = frame.last_exception
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to