Index: test/cctest/test-assembler-ia32.cc |
diff --git a/test/cctest/test-assembler-ia32.cc b/test/cctest/test-assembler-ia32.cc |
index f6df9ecf294e087c6523df06c20ce36101265f6a..e4cac56c150819521239afb0b2384492446d13bf 100644 |
--- a/test/cctest/test-assembler-ia32.cc |
+++ b/test/cctest/test-assembler-ia32.cc |
@@ -1506,15 +1506,15 @@ TEST(Regress621926) { |
HandleScope scope(isolate); |
Assembler assm(isolate, nullptr, 0); |
- int16_t a = 42; |
+ uint16_t a = 42; |
Label fail; |
__ push(ebx); |
__ mov(ebx, Immediate(reinterpret_cast<intptr_t>(&a))); |
__ mov(eax, Immediate(41)); |
- __ cmpw(eax, Operand(ebx)); |
+ __ cmpw(eax, Operand(ebx, 0)); |
__ j(above_equal, &fail); |
- __ cmpw(Operand(ebx), eax); |
+ __ cmpw(Operand(ebx, 0), eax); |
__ j(below_equal, &fail); |
__ mov(eax, 1); |
__ pop(ebx); |