| 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 33bee63af59f591ea02c5c7b92a050c1b73c98a7..fa0e6146c231da5771e6d5d43f5baf4959fa88fb 100644
|
| --- a/src/full-codegen/ia32/full-codegen-ia32.cc
|
| +++ b/src/full-codegen/ia32/full-codegen-ia32.cc
|
| @@ -752,8 +752,6 @@ void FullCodeGenerator::VisitVariableDeclaration(
|
| DCHECK(IsDeclaredVariableMode(mode));
|
| DCHECK(!hole_init);
|
| __ push(Immediate(Smi::FromInt(0))); // Indicates no initial value.
|
| - __ push(
|
| - Immediate(Smi::FromInt(variable->DeclarationPropertyAttributes())));
|
| __ CallRuntime(Runtime::kDeclareLookupSlot);
|
| PrepareForBailoutForId(proxy->id(), BailoutState::NO_REGISTERS);
|
| break;
|
| @@ -807,7 +805,6 @@ void FullCodeGenerator::VisitFunctionDeclaration(
|
| Comment cmnt(masm_, "[ FunctionDeclaration");
|
| PushOperand(variable->name());
|
| VisitForStackValue(declaration->fun());
|
| - PushOperand(Smi::FromInt(variable->DeclarationPropertyAttributes()));
|
| CallRuntimeWithOperands(Runtime::kDeclareLookupSlot);
|
| PrepareForBailoutForId(proxy->id(), BailoutState::NO_REGISTERS);
|
| break;
|
|
|