Index: src/full-codegen/mips64/full-codegen-mips64.cc |
diff --git a/src/full-codegen/mips64/full-codegen-mips64.cc b/src/full-codegen/mips64/full-codegen-mips64.cc |
index 759a915658a8d70dcef87d486706c8b51bf145cc..f2bf6a1617a8a9076df28ce69a296993695ab11f 100644 |
--- a/src/full-codegen/mips64/full-codegen-mips64.cc |
+++ b/src/full-codegen/mips64/full-codegen-mips64.cc |
@@ -803,7 +803,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; |
@@ -861,7 +860,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; |