Author: Maciej Fijalkowski <[email protected]>
Branch:
Changeset: r44395:e3510ff85c15
Date: 2011-05-24 08:53 +0200
http://bitbucket.org/pypy/pypy/changeset/e3510ff85c15/
Log: move asserts to correct places (run tests before checkin!)
diff --git a/pypy/jit/backend/x86/assembler.py
b/pypy/jit/backend/x86/assembler.py
--- a/pypy/jit/backend/x86/assembler.py
+++ b/pypy/jit/backend/x86/assembler.py
@@ -684,8 +684,8 @@
for i in range(len(nonfloatlocs)):
loc = nonfloatlocs[i]
if loc is not None:
- assert not loc.is_xmm
if isinstance(loc, RegLoc):
+ assert not loc.is_xmm
self.mc.MOV_rb(loc.value, offset)
else:
self.mc.MOV_rb(tmp.value, offset)
@@ -693,8 +693,8 @@
offset += WORD
loc = floatlocs[i]
if loc is not None:
- assert loc.is_xmm
if isinstance(loc, RegLoc):
+ assert loc.is_xmm
self.mc.MOVSD_xb(loc.value, offset)
else:
self.mc.MOVSD_xb(xmmtmp.value, offset)
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit