Index: src/mips/lithium-mips.cc |
diff --git a/src/mips/lithium-mips.cc b/src/mips/lithium-mips.cc |
index d4f450e5c4ce60be2cdaaeb3a6e961223055ac57..f725a11419c7d42cf6f38bc9dd661c2cbe40fefa 100644 |
--- a/src/mips/lithium-mips.cc |
+++ b/src/mips/lithium-mips.cc |
@@ -2463,8 +2463,9 @@ LInstruction* LChunkBuilder::DoEnterInlined(HEnterInlined* instr) { |
undefined, |
instr->inlining_kind(), |
instr->undefined_receiver()); |
- if (instr->arguments_var() != NULL) { |
- inner->Bind(instr->arguments_var(), graph()->GetArgumentsObject()); |
+ // Only replay binding of arguments object if it wasn't removed from graph. |
+ if (instr->arguments_var() != NULL && instr->arguments_object()->IsLinked()) { |
+ inner->Bind(instr->arguments_var(), instr->arguments_object()); |
} |
inner->set_entry(instr); |
current_block_->UpdateEnvironment(inner); |