Index: runtime/vm/assembler_arm_test.cc |
=================================================================== |
--- runtime/vm/assembler_arm_test.cc (revision 18199) |
+++ runtime/vm/assembler_arm_test.cc (working copy) |
@@ -16,13 +16,14 @@ |
ASSEMBLER_TEST_GENERATE(Simple, assembler) { |
- UNIMPLEMENTED(); |
+ __ mov(R0, ShifterOperand(42)); |
+ __ mov(PC, ShifterOperand(LR)); |
} |
ASSEMBLER_TEST_RUN(Simple, entry) { |
typedef int (*SimpleCode)(); |
- EXPECT_EQ(42, reinterpret_cast<SimpleCode>(entry)()); |
+ EXPECT_EQ(42, EXECUTE_TEST_CODE_INT32(SimpleCode, entry)); |
} |
} // namespace dart |