Index: test/cctest/test-macro-assembler-ia32.cc |
diff --git a/test/cctest/test-macro-assembler-ia32.cc b/test/cctest/test-macro-assembler-ia32.cc |
index 38c738f1d0f61885b923e93d9a574358d762f10b..6a4cfec492a98b031960b67809b2d0b4e81b331c 100644 |
--- a/test/cctest/test-macro-assembler-ia32.cc |
+++ b/test/cctest/test-macro-assembler-ia32.cc |
@@ -122,6 +122,17 @@ TEST(LoadAndStoreWithRepresentation) { |
__ cmp(ebx, edx); |
__ j(not_equal, &exit); |
+ // Test 5. |
+ __ Move(edx, Immediate(0)); // Test Move() |
+ __ cmp(edx, Immediate(0)); |
+ __ j(not_equal, &exit); |
+ __ Move(ecx, Immediate(-1)); |
+ __ cmp(ecx, Immediate(-1)); |
+ __ j(not_equal, &exit); |
+ __ Move(ebx, Immediate(0x77)); |
+ __ cmp(ebx, Immediate(0x77)); |
+ __ j(not_equal, &exit); |
+ |
__ xor_(eax, eax); // Success. |
__ bind(&exit); |
__ add(esp, Immediate(1 * kPointerSize)); |