Author: Armin Rigo <[email protected]>
Branch: branch-prediction
Changeset: r90995:42b8fa2f6f37
Date: 2017-04-06 17:06 +0200
http://bitbucket.org/pypy/pypy/changeset/42b8fa2f6f37/

Log:    Fix test

diff --git a/rpython/jit/backend/x86/test/test_regloc.py 
b/rpython/jit/backend/x86/test/test_regloc.py
--- a/rpython/jit/backend/x86/test/test_regloc.py
+++ b/rpython/jit/backend/x86/test/test_regloc.py
@@ -211,9 +211,9 @@
     def test_64bit_address_4(self):
         base_addr = intmask(0xFEDCBA9876543210)
         cb = LocationCodeBuilder64()
-        assert cb._scratch_register_value == 0
+        assert cb._scratch_register_value == -1
         cb.MOV(ecx, AddressLoc(edx, esi, 2, base_addr))
-        assert cb._scratch_register_value == 0
+        assert cb._scratch_register_value == -1
         # this case is a CMP_ra
         #
         expected_instructions = (
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to