Index: src/arm/full-codegen-arm.cc |
diff --git a/src/arm/full-codegen-arm.cc b/src/arm/full-codegen-arm.cc |
index c97d4319acfc8ac2bf48f5bb4fe270fb516e5189..2b3656e03627c742f5fbd572fcd8ba4650643a80 100644 |
--- a/src/arm/full-codegen-arm.cc |
+++ b/src/arm/full-codegen-arm.cc |
@@ -1831,11 +1831,15 @@ void FullCodeGenerator::VisitObjectLiteral(ObjectLiteral* expr) { |
break; |
case ObjectLiteral::Property::GETTER: |
- __ CallRuntime(Runtime::kDefineGetterPropertyUnchecked, 3); |
+ __ mov(r0, Operand(Smi::FromInt(NONE))); |
+ __ push(r0); |
+ __ CallRuntime(Runtime::kDefineGetterPropertyUnchecked, 4); |
break; |
case ObjectLiteral::Property::SETTER: |
- __ CallRuntime(Runtime::kDefineSetterPropertyUnchecked, 3); |
+ __ mov(r0, Operand(Smi::FromInt(NONE))); |
+ __ push(r0); |
+ __ CallRuntime(Runtime::kDefineSetterPropertyUnchecked, 4); |
break; |
} |
} |
@@ -2564,11 +2568,15 @@ void FullCodeGenerator::EmitClassDefineProperties(ClassLiteral* lit) { |
break; |
case ObjectLiteral::Property::GETTER: |
- __ CallRuntime(Runtime::kDefineGetterPropertyUnchecked, 3); |
+ __ mov(r0, Operand(Smi::FromInt(DONT_ENUM))); |
+ __ push(r0); |
+ __ CallRuntime(Runtime::kDefineGetterPropertyUnchecked, 4); |
break; |
case ObjectLiteral::Property::SETTER: |
- __ CallRuntime(Runtime::kDefineSetterPropertyUnchecked, 3); |
+ __ mov(r0, Operand(Smi::FromInt(DONT_ENUM))); |
+ __ push(r0); |
+ __ CallRuntime(Runtime::kDefineSetterPropertyUnchecked, 4); |
break; |
default: |