| Index: src/full-codegen/x87/full-codegen-x87.cc
|
| diff --git a/src/full-codegen/x87/full-codegen-x87.cc b/src/full-codegen/x87/full-codegen-x87.cc
|
| index 36bf8efc645d0d3f587db1476c1961d66322c14d..0209200e55251b0b2ec82e40812ddeeaeb75b5ce 100644
|
| --- a/src/full-codegen/x87/full-codegen-x87.cc
|
| +++ b/src/full-codegen/x87/full-codegen-x87.cc
|
| @@ -794,14 +794,14 @@ void FullCodeGenerator::VisitVariableDeclaration(
|
| } else {
|
| __ push(Immediate(Smi::FromInt(0))); // Indicates no initial value.
|
| }
|
| - __ push(Immediate(variable->DeclarationPropertyAttributes()));
|
| + __ push(
|
| + Immediate(Smi::FromInt(variable->DeclarationPropertyAttributes())));
|
| __ CallRuntime(Runtime::kDeclareLookupSlot, 3);
|
| break;
|
| }
|
| }
|
| }
|
|
|
| -
|
| void FullCodeGenerator::VisitFunctionDeclaration(
|
| FunctionDeclaration* declaration) {
|
| VariableProxy* proxy = declaration->proxy();
|
| @@ -843,7 +843,8 @@ void FullCodeGenerator::VisitFunctionDeclaration(
|
| Comment cmnt(masm_, "[ FunctionDeclaration");
|
| __ push(Immediate(variable->name()));
|
| VisitForStackValue(declaration->fun());
|
| - __ push(Immediate(variable->DeclarationPropertyAttributes()));
|
| + __ push(
|
| + Immediate(Smi::FromInt(variable->DeclarationPropertyAttributes())));
|
| __ CallRuntime(Runtime::kDeclareLookupSlot, 3);
|
| break;
|
| }
|
|
|