Index: src/frames.cc |
diff --git a/src/frames.cc b/src/frames.cc |
index 52c76b65ee2103c28ed93dfb1694918b90a9d360..4f2f0086a794243001b82db0f5a41bec354ebbd5 100644 |
--- a/src/frames.cc |
+++ b/src/frames.cc |
@@ -977,12 +977,6 @@ |
CannotDeoptFromAsmCode(Code::cast(abstract_code), function)); |
} |
-FrameSummary FrameSummary::GetFirst(JavaScriptFrame* frame) { |
- List<FrameSummary> frames(FLAG_max_inlining_levels + 1); |
- frame->Summarize(&frames); |
- return frames.first(); |
-} |
- |
void FrameSummary::Print() { |
PrintF("receiver: "); |
receiver_->ShortPrint(); |
@@ -1234,15 +1228,15 @@ |
SetExpression(index, Smi::FromInt(raw_offset)); |
} |
-BytecodeArray* InterpretedFrame::GetBytecodeArray() const { |
+Object* InterpretedFrame::GetBytecodeArray() const { |
const int index = InterpreterFrameConstants::kBytecodeArrayExpressionIndex; |
DCHECK_EQ( |
InterpreterFrameConstants::kBytecodeArrayFromFp, |
InterpreterFrameConstants::kExpressionsOffset - index * kPointerSize); |
- return BytecodeArray::cast(GetExpression(index)); |
-} |
- |
-void InterpretedFrame::PatchBytecodeArray(BytecodeArray* bytecode_array) { |
+ return GetExpression(index); |
+} |
+ |
+void InterpretedFrame::PatchBytecodeArray(Object* bytecode_array) { |
const int index = InterpreterFrameConstants::kBytecodeArrayExpressionIndex; |
DCHECK_EQ( |
InterpreterFrameConstants::kBytecodeArrayFromFp, |