[pypy-svn] r71301 - pypy/branch/jit-profiling-debug-vref/pypy/jit/backend/x86
arigo at codespeak.net
arigo at codespeak.net
Thu Feb 18 17:08:19 CET 2010
Author: arigo
Date: Thu Feb 18 17:08:18 2010
New Revision: 71301
Modified:
pypy/branch/jit-profiling-debug-vref/pypy/jit/backend/x86/assembler.py
Log:
Fix.
Modified: pypy/branch/jit-profiling-debug-vref/pypy/jit/backend/x86/assembler.py
==============================================================================
--- pypy/branch/jit-profiling-debug-vref/pypy/jit/backend/x86/assembler.py (original)
+++ pypy/branch/jit-profiling-debug-vref/pypy/jit/backend/x86/assembler.py Thu Feb 18 17:08:18 2010
@@ -589,7 +589,7 @@
genop_virtual_ref = genop_same_as
def genop_assert(self, op, arglocs, resloc):
- mc = self._start_block()
+ mc = self.mc._mc
mc.CMP(arglocs[0], imm8(0))
mc.write(constlistofchars('\x75\x00')) # JNE later
jne_location = mc.get_relative_pos()
@@ -598,7 +598,6 @@
offset = mc.get_relative_pos() - jne_location
assert 0 < offset <= 127
mc.overwrite(jne_location-1, [chr(offset)])
- self._stop_block()
def genop_int_mod(self, op, arglocs, resloc):
self.mc.CDQ()
More information about the Pypy-commit
mailing list