| Index: src/frames.cc
|
| diff --git a/src/frames.cc b/src/frames.cc
|
| index d68339af193445d9c0a06082fae648e15b44370c..8011fbda8e89e734c51910c1da1093e0a688d6e3 100644
|
| --- a/src/frames.cc
|
| +++ b/src/frames.cc
|
| @@ -1244,7 +1244,7 @@ void InterpretedFrame::PatchBytecodeArray(Object* bytecode_array) {
|
| SetExpression(index, bytecode_array);
|
| }
|
|
|
| -Object* InterpretedFrame::GetInterpreterRegister(int register_index) const {
|
| +Object* InterpretedFrame::ReadInterpreterRegister(int register_index) const {
|
| const int index = InterpreterFrameConstants::kRegisterFileExpressionIndex;
|
| DCHECK_EQ(
|
| InterpreterFrameConstants::kRegisterFilePointerFromFp,
|
| @@ -1252,6 +1252,15 @@ Object* InterpretedFrame::GetInterpreterRegister(int register_index) const {
|
| return GetExpression(index + register_index);
|
| }
|
|
|
| +void InterpretedFrame::WriteInterpreterRegister(int register_index,
|
| + Object* value) {
|
| + const int index = InterpreterFrameConstants::kRegisterFileExpressionIndex;
|
| + DCHECK_EQ(
|
| + InterpreterFrameConstants::kRegisterFilePointerFromFp,
|
| + InterpreterFrameConstants::kExpressionsOffset - index * kPointerSize);
|
| + return SetExpression(index + register_index, value);
|
| +}
|
| +
|
| void InterpretedFrame::Summarize(List<FrameSummary>* functions) const {
|
| DCHECK(functions->length() == 0);
|
| AbstractCode* abstract_code =
|
|
|