| Index: src/ia32/lithium-ia32.cc
|
| diff --git a/src/ia32/lithium-ia32.cc b/src/ia32/lithium-ia32.cc
|
| index 10131d4551814affa5298b6d78cf9279e200129e..2bfbb67bce1525e2affa766c1ed727c51c800b61 100644
|
| --- a/src/ia32/lithium-ia32.cc
|
| +++ b/src/ia32/lithium-ia32.cc
|
| @@ -1083,8 +1083,7 @@ LInstruction* LChunkBuilder::DoArgumentsLength(HArgumentsLength* length) {
|
|
|
|
|
| LInstruction* LChunkBuilder::DoArgumentsElements(HArgumentsElements* elems) {
|
| - return DefineAsRegister(new(zone()) LArgumentsElements(
|
| - current_block_->last_environment()->outer() != NULL));
|
| + return DefineAsRegister(new(zone()) LArgumentsElements);
|
| }
|
|
|
|
|
| @@ -2381,9 +2380,6 @@ LInstruction* LChunkBuilder::DoEnterInlined(HEnterInlined* instr) {
|
| undefined,
|
| instr->call_kind(),
|
| instr->is_construct());
|
| - if (instr->materializes_arguments()) {
|
| - inner->Bind(instr->arguments(), graph()->GetArgumentsObject());
|
| - }
|
| current_block_->UpdateEnvironment(inner);
|
| chunk_->AddInlinedClosure(instr->closure());
|
| return NULL;
|
| @@ -2391,20 +2387,10 @@ LInstruction* LChunkBuilder::DoEnterInlined(HEnterInlined* instr) {
|
|
|
|
|
| LInstruction* LChunkBuilder::DoLeaveInlined(HLeaveInlined* instr) {
|
| - LInstruction* pop = NULL;
|
| -
|
| - HEnvironment* env = current_block_->last_environment();
|
| -
|
| - if (instr->arguments_pushed()) {
|
| - int argument_count = env->arguments_environment()->parameter_count();
|
| - pop = new(zone()) LPop(argument_count);
|
| - argument_count_ -= argument_count;
|
| - }
|
| -
|
| HEnvironment* outer = current_block_->last_environment()->
|
| DiscardInlined(false);
|
| current_block_->UpdateEnvironment(outer);
|
| - return pop;
|
| + return NULL;
|
| }
|
|
|
|
|
|
|