Index: src/x64/macro-assembler-x64.cc |
diff --git a/src/x64/macro-assembler-x64.cc b/src/x64/macro-assembler-x64.cc |
index 6c1c19df3e86996ea65d508156660692cd28c381..69c8e3fa1306ae7df3e7f529371c998dd1fe5f1b 100644 |
--- a/src/x64/macro-assembler-x64.cc |
+++ b/src/x64/macro-assembler-x64.cc |
@@ -4180,6 +4180,11 @@ void MacroAssembler::InitializeFieldsWithFiller(Register start_offset, |
} |
+void MacroAssembler::ReloadContextFromFrame() { |
+ movq(rsi, Operand(rbp, StandardFrameConstants::kContextOffset)); |
+} |
+ |
+ |
void MacroAssembler::LoadContext(Register dst, int context_chain_length) { |
if (context_chain_length > 0) { |
// Move up the chain of contexts to the context containing the slot. |