Index: src/full-codegen/mips/full-codegen-mips.cc |
diff --git a/src/full-codegen/mips/full-codegen-mips.cc b/src/full-codegen/mips/full-codegen-mips.cc |
index d921226a483496933388a34d8d55b8b4438a9264..861b7fecd5ed7dcac7b6d2f81b7f2b43854e5f91 100644 |
--- a/src/full-codegen/mips/full-codegen-mips.cc |
+++ b/src/full-codegen/mips/full-codegen-mips.cc |
@@ -804,7 +804,6 @@ void FullCodeGenerator::VisitVariableDeclaration( |
DCHECK(Smi::FromInt(0) == 0); |
__ mov(a0, zero_reg); // Smi::FromInt(0) indicates no initial value. |
__ Push(a2, a0); |
- __ Push(Smi::FromInt(variable->DeclarationPropertyAttributes())); |
__ CallRuntime(Runtime::kDeclareLookupSlot); |
PrepareForBailoutForId(proxy->id(), BailoutState::NO_REGISTERS); |
break; |
@@ -862,7 +861,6 @@ void FullCodeGenerator::VisitFunctionDeclaration( |
PushOperand(a2); |
// Push initial value for function declaration. |
VisitForStackValue(declaration->fun()); |
- PushOperand(Smi::FromInt(variable->DeclarationPropertyAttributes())); |
CallRuntimeWithOperands(Runtime::kDeclareLookupSlot); |
PrepareForBailoutForId(proxy->id(), BailoutState::NO_REGISTERS); |
break; |