Index: src/frames.cc |
diff --git a/src/frames.cc b/src/frames.cc |
index 6f5176261b3881565bf5b8631c8bfd82deadb5d6..8867a2027fad3469ee2cbb2f04d15052f430c03f 100644 |
--- a/src/frames.cc |
+++ b/src/frames.cc |
@@ -1253,7 +1253,7 @@ void InterpretedFrame::PatchBytecodeArray(BytecodeArray* bytecode_array) { |
Object* InterpretedFrame::ReadInterpreterRegister(int register_index) const { |
const int index = InterpreterFrameConstants::kRegisterFileExpressionIndex; |
DCHECK_EQ( |
- InterpreterFrameConstants::kRegisterFilePointerFromFp, |
+ InterpreterFrameConstants::kRegisterFileFromFp, |
InterpreterFrameConstants::kExpressionsOffset - index * kPointerSize); |
return GetExpression(index + register_index); |
} |
@@ -1262,7 +1262,7 @@ void InterpretedFrame::WriteInterpreterRegister(int register_index, |
Object* value) { |
const int index = InterpreterFrameConstants::kRegisterFileExpressionIndex; |
DCHECK_EQ( |
- InterpreterFrameConstants::kRegisterFilePointerFromFp, |
+ InterpreterFrameConstants::kRegisterFileFromFp, |
InterpreterFrameConstants::kExpressionsOffset - index * kPointerSize); |
return SetExpression(index + register_index, value); |
} |