Index: test/cctest/test-disasm-x87.cc |
diff --git a/test/cctest/test-disasm-x87.cc b/test/cctest/test-disasm-x87.cc |
index 959be6626a828e59c202685f7ddbcf155edd4535..697a9d3b49fcc9e3d203bc87f2b90c2bc9ae1e28 100644 |
--- a/test/cctest/test-disasm-x87.cc |
+++ b/test/cctest/test-disasm-x87.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); |