| Index: src/full-codegen/ia32/full-codegen-ia32.cc
|
| diff --git a/src/full-codegen/ia32/full-codegen-ia32.cc b/src/full-codegen/ia32/full-codegen-ia32.cc
|
| index 7668d042db6b271ffbf8f4063e7fe42a13df2872..2bf8a95cd6a6eceaa5684ee6b80013595f9b461f 100644
|
| --- a/src/full-codegen/ia32/full-codegen-ia32.cc
|
| +++ b/src/full-codegen/ia32/full-codegen-ia32.cc
|
| @@ -709,7 +709,6 @@ void FullCodeGenerator::VisitVariableDeclaration(
|
| DCHECK(!slot.IsInvalid());
|
| globals_->Add(handle(Smi::FromInt(slot.ToInt()), isolate()), zone());
|
| globals_->Add(isolate()->factory()->undefined_value(), zone());
|
| - globals_->Add(isolate()->factory()->undefined_value(), zone());
|
| break;
|
| }
|
| case VariableLocation::PARAMETER:
|
| @@ -734,12 +733,6 @@ void FullCodeGenerator::VisitFunctionDeclaration(
|
| FeedbackVectorSlot slot = proxy->VariableFeedbackSlot();
|
| DCHECK(!slot.IsInvalid());
|
| globals_->Add(handle(Smi::FromInt(slot.ToInt()), isolate()), zone());
|
| -
|
| - // We need the slot where the literals array lives, too.
|
| - slot = declaration->fun()->LiteralFeedbackSlot();
|
| - DCHECK(!slot.IsInvalid());
|
| - globals_->Add(handle(Smi::FromInt(slot.ToInt()), isolate()), zone());
|
| -
|
| Handle<SharedFunctionInfo> function =
|
| Compiler::GetSharedFunctionInfo(declaration->fun(), script(), info_);
|
| // Check for stack-overflow exception.
|
|
|