Index: src/compiler/interpreter-assembler.cc |
diff --git a/src/compiler/interpreter-assembler.cc b/src/compiler/interpreter-assembler.cc |
index 27b3487651dc8c69235d5c0d8718b79835a278b6..8684345f8eab8d7ec98d4263ceb86f5f196fe6ea 100644 |
--- a/src/compiler/interpreter-assembler.cc |
+++ b/src/compiler/interpreter-assembler.cc |
@@ -80,7 +80,10 @@ void InterpreterAssembler::SetAccumulator(Node* value) { accumulator_ = value; } |
Node* InterpreterAssembler::GetContext() { return context_; } |
-void InterpreterAssembler::SetContext(Node* value) { context_ = value; } |
+void InterpreterAssembler::SetContext(Node* value) { |
+ StoreRegister(value, interpreter::Register::current_context()); |
+ context_ = value; |
+} |
Node* InterpreterAssembler::BytecodeOffset() { return bytecode_offset_; } |