[pypy-svn] r65954 - pypy/branch/pyjitpl5/pypy/jit/tl/spli

benjamin at codespeak.net benjamin at codespeak.net
Thu Jun 25 02:21:19 CEST 2009


Author: benjamin
Date: Thu Jun 25 02:21:18 2009
New Revision: 65954

Modified:
   pypy/branch/pyjitpl5/pypy/jit/tl/spli/interpreter.py
Log:
co_names_w -> co_names

Modified: pypy/branch/pyjitpl5/pypy/jit/tl/spli/interpreter.py
==============================================================================
--- pypy/branch/pyjitpl5/pypy/jit/tl/spli/interpreter.py	(original)
+++ pypy/branch/pyjitpl5/pypy/jit/tl/spli/interpreter.py	Thu Jun 25 02:21:18 2009
@@ -139,17 +139,17 @@
         return next_instr
 
     def LOAD_NAME(self, name_index, next_instr, code):
-        name = self.code.co_names_w[name_index].as_str()
+        name = self.code.co_names[name_index]
         self.push(self.locals_dict[name])
         return next_instr
 
     def STORE_NAME(self, name_index, next_instr, code):
-        name = self.code.co_names_w[name_index].as_str()
+        name = self.code.co_names[name_index]
         self.locals_dict[name] = self.pop()
         return next_instr
 
     def LOAD_GLOBAL(self, name_index, next_instr, code):
-        name = self.code.co_names_w[name_index].as_str()
+        name = self.code.co_names[name_index]
         self.push(self.globs[name])
         return next_instr
 



More information about the Pypy-commit mailing list