[pypy-commit] pypy branch-prediction: Fix test
arigo
pypy.commits at gmail.com
Thu Apr 6 11:10:18 EDT 2017
Author: Armin Rigo <arigo at tunes.org>
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 = (
More information about the pypy-commit
mailing list