Index: src/hydrogen.cc |
diff --git a/src/hydrogen.cc b/src/hydrogen.cc |
index c30a88bf1224c711be718430530fa5d8292bbd67..44f9b8a64be51c79fd50bb24d569d57c5730ebc2 100644 |
--- a/src/hydrogen.cc |
+++ b/src/hydrogen.cc |
@@ -168,10 +168,9 @@ void HBasicBlock::Finish(HControlInstruction* end) { |
void HBasicBlock::Goto(HBasicBlock* block, FunctionState* state) { |
bool drop_extra = state != NULL && |
state->inlining_kind() == DROP_EXTRA_ON_RETURN; |
- bool arguments_pushed = state != NULL && state->arguments_pushed(); |
if (block->IsInlineReturnTarget()) { |
- AddInstruction(new(zone()) HLeaveInlined(arguments_pushed)); |
+ AddInstruction(new(zone()) HLeaveInlined()); |
last_environment_ = last_environment()->DiscardInlined(drop_extra); |
} |
@@ -185,11 +184,10 @@ void HBasicBlock::AddLeaveInlined(HValue* return_value, |
FunctionState* state) { |
HBasicBlock* target = state->function_return(); |
bool drop_extra = state->inlining_kind() == DROP_EXTRA_ON_RETURN; |
- bool arguments_pushed = state->arguments_pushed(); |
ASSERT(target->IsInlineReturnTarget()); |
ASSERT(return_value != NULL); |
- AddInstruction(new(zone()) HLeaveInlined(arguments_pushed)); |
+ AddInstruction(new(zone()) HLeaveInlined()); |
last_environment_ = last_environment()->DiscardInlined(drop_extra); |
last_environment()->Push(return_value); |
AddSimulate(BailoutId::None()); |