Index: runtime/vm/stub_code_x64.cc |
diff --git a/runtime/vm/stub_code_x64.cc b/runtime/vm/stub_code_x64.cc |
index ca1ce140f0d3e36a7329812a030190298c368bc0..49cb3f3ac9f19858fb097623ac26492b401d4ec3 100644 |
--- a/runtime/vm/stub_code_x64.cc |
+++ b/runtime/vm/stub_code_x64.cc |
@@ -2259,6 +2259,7 @@ void StubCode::GenerateSingleTargetCallStub(Assembler* assembler) { |
// Called from the monomorphic checked entry. |
// RDI: receiver |
void StubCode::GenerateMonomorphicMissStub(Assembler* assembler) { |
+ __ movq(CODE_REG, Address(THR, Thread::monomorphic_miss_stub_offset())); |
__ EnterStubFrame(); |
__ pushq(RDI); // Preserve receiver. |