Index: runtime/vm/assembler_x64_test.cc |
=================================================================== |
--- runtime/vm/assembler_x64_test.cc (revision 9046) |
+++ runtime/vm/assembler_x64_test.cc (working copy) |
@@ -1305,6 +1305,18 @@ |
EXPECT_FLOAT_EQ(sqrt(kDoubleConst), res, 0.0001); |
} |
+ |
+// Called from assembler_test.cc. |
+ASSEMBLER_TEST_GENERATE(StoreIntoObject, assembler) { |
+ __ pushq(CTX); |
+ __ movq(CTX, RDI); |
+ __ StoreIntoObject(RDX, |
+ FieldAddress(RDX, GrowableObjectArray::data_offset()), |
+ RSI); |
+ __ popq(CTX); |
+ __ ret(); |
+} |
+ |
} // namespace dart |
#endif // defined TARGET_ARCH_X64 |