Index: test/cctest/test-disasm-ia32.cc |
diff --git a/test/cctest/test-disasm-ia32.cc b/test/cctest/test-disasm-ia32.cc |
index cecfc8330bf14b4459fdb65e0239e2e7c205b0f3..f96eb00fd1f634e6141af56d5b39f2069e8daba0 100644 |
--- a/test/cctest/test-disasm-ia32.cc |
+++ b/test/cctest/test-disasm-ia32.cc |
@@ -244,7 +244,7 @@ TEST(DisasmIa320) { |
__ cmp(ebx, 12345); |
__ cmp(ebx, Immediate(12)); |
__ cmp(Operand(edx, ecx, times_4, 10000), Immediate(12)); |
- __ cmpb(eax, 100); |
+ __ cmpb(eax, Immediate(100)); |
__ or_(ebx, 12345); |
@@ -268,7 +268,7 @@ TEST(DisasmIa320) { |
__ test(edx, Operand(ebx, ecx, times_8, 10000)); |
__ test(Operand(esi, edi, times_1, -20000000), Immediate(300000000)); |
__ test_b(edx, Operand(ecx, ebx, times_2, 1000)); |
- __ test_b(Operand(eax, -20), 0x9A); |
+ __ test_b(Operand(eax, -20), Immediate(0x9A)); |
__ nop(); |
__ xor_(edx, 12345); |