Index: runtime/vm/stub_code_arm64.cc |
diff --git a/runtime/vm/stub_code_arm64.cc b/runtime/vm/stub_code_arm64.cc |
index fdcf3a70eb86eefbe0b055f5fdd83e3bc23e03e6..f125fe6b83101a0f25cbc30ed7e8cc6fec2fa1a5 100644 |
--- a/runtime/vm/stub_code_arm64.cc |
+++ b/runtime/vm/stub_code_arm64.cc |
@@ -2294,6 +2294,7 @@ void StubCode::GenerateSingleTargetCallStub(Assembler* assembler) { |
// Called from the monomorphic checked entry. |
// R0: receiver |
void StubCode::GenerateMonomorphicMissStub(Assembler* assembler) { |
+ __ ldr(CODE_REG, Address(THR, Thread::monomorphic_miss_stub_offset())); |
__ EnterStubFrame(); |
__ Push(R0); // Preserve receiver. |