Index: src/x87/full-codegen-x87.cc |
diff --git a/src/x87/full-codegen-x87.cc b/src/x87/full-codegen-x87.cc |
index 8b8ef5205d239d0eb1565057dd3207adb656d56b..a017b12ba10c02d825fa868a268516948df091c4 100644 |
--- a/src/x87/full-codegen-x87.cc |
+++ b/src/x87/full-codegen-x87.cc |
@@ -1736,11 +1736,13 @@ void FullCodeGenerator::VisitObjectLiteral(ObjectLiteral* expr) { |
break; |
case ObjectLiteral::Property::GETTER: |
- __ CallRuntime(Runtime::kDefineGetterPropertyUnchecked, 3); |
+ __ push(Immediate(Smi::FromInt(NONE))); |
+ __ CallRuntime(Runtime::kDefineGetterPropertyUnchecked, 4); |
break; |
case ObjectLiteral::Property::SETTER: |
- __ CallRuntime(Runtime::kDefineSetterPropertyUnchecked, 3); |
+ __ push(Immediate(Smi::FromInt(NONE))); |
+ __ CallRuntime(Runtime::kDefineSetterPropertyUnchecked, 4); |
break; |
} |
} |
@@ -2459,11 +2461,13 @@ void FullCodeGenerator::EmitClassDefineProperties(ClassLiteral* lit) { |
break; |
case ObjectLiteral::Property::GETTER: |
- __ CallRuntime(Runtime::kDefineGetterPropertyUnchecked, 3); |
+ __ push(Immediate(Smi::FromInt(DONT_ENUM))); |
+ __ CallRuntime(Runtime::kDefineGetterPropertyUnchecked, 4); |
break; |
case ObjectLiteral::Property::SETTER: |
- __ CallRuntime(Runtime::kDefineSetterPropertyUnchecked, 3); |
+ __ push(Immediate(Smi::FromInt(DONT_ENUM))); |
+ __ CallRuntime(Runtime::kDefineSetterPropertyUnchecked, 4); |
break; |
} |
} |