Index: runtime/vm/code_patcher_x64.cc |
=================================================================== |
--- runtime/vm/code_patcher_x64.cc (revision 12092) |
+++ runtime/vm/code_patcher_x64.cc (working copy) |
@@ -242,18 +242,13 @@ |
} |
-RawArray* CodePatcher::GetTypeTestArray(uword instruction_address) { |
- UNIMPLEMENTED(); |
- return NULL; |
+void CodePatcher::InsertCallAt(uword start, uword target) { |
+ *reinterpret_cast<uint8_t*>(start) = 0xE8; |
+ ShortCallPattern call(start); |
+ call.SetTargetAddress(target); |
} |
-void CodePatcher::SetTypeTestArray(uword instruction_address, |
- const Array& value) { |
- UNIMPLEMENTED(); |
-} |
- |
- |
} // namespace dart |
#endif // defined TARGET_ARCH_X64 |