Index: src/compiler/instruction.cc |
diff --git a/src/compiler/instruction.cc b/src/compiler/instruction.cc |
index 9bf05511c8630ad1a0a2a7870173a56b66522792..a2f4ed4f47f6b56ff5cd87cdc66af4b68a9d7860 100644 |
--- a/src/compiler/instruction.cc |
+++ b/src/compiler/instruction.cc |
@@ -394,13 +394,13 @@ void InstructionSequence::AddGapMove(int index, InstructionOperand* from, |
int InstructionSequence::AddDeoptimizationEntry( |
- const FrameStateDescriptor& descriptor) { |
+ FrameStateDescriptor* descriptor) { |
int deoptimization_id = static_cast<int>(deoptimization_entries_.size()); |
deoptimization_entries_.push_back(descriptor); |
return deoptimization_id; |
} |
-FrameStateDescriptor InstructionSequence::GetDeoptimizationEntry( |
+FrameStateDescriptor* InstructionSequence::GetDeoptimizationEntry( |
int deoptimization_id) { |
return deoptimization_entries_[deoptimization_id]; |
} |