Index: src/mips64/full-codegen-mips64.cc |
diff --git a/src/mips64/full-codegen-mips64.cc b/src/mips64/full-codegen-mips64.cc |
index 7aeb11839d5d91f9e8806bf9739d6105d51eddd3..16823701b86e1ed30f4dde3e8acde946fefbdd93 100644 |
--- a/src/mips64/full-codegen-mips64.cc |
+++ b/src/mips64/full-codegen-mips64.cc |
@@ -1812,11 +1812,15 @@ void FullCodeGenerator::VisitObjectLiteral(ObjectLiteral* expr) { |
break; |
case ObjectLiteral::Property::GETTER: |
- __ CallRuntime(Runtime::kDefineGetterPropertyUnchecked, 3); |
+ __ li(a0, Operand(Smi::FromInt(NONE))); |
+ __ push(a0); |
+ __ CallRuntime(Runtime::kDefineGetterPropertyUnchecked, 4); |
break; |
case ObjectLiteral::Property::SETTER: |
- __ CallRuntime(Runtime::kDefineSetterPropertyUnchecked, 3); |
+ __ li(a0, Operand(Smi::FromInt(NONE))); |
+ __ push(a0); |
+ __ CallRuntime(Runtime::kDefineSetterPropertyUnchecked, 4); |
break; |
} |
} |
@@ -2538,11 +2542,15 @@ void FullCodeGenerator::EmitClassDefineProperties(ClassLiteral* lit) { |
break; |
case ObjectLiteral::Property::GETTER: |
- __ CallRuntime(Runtime::kDefineGetterPropertyUnchecked, 3); |
+ __ li(a0, Operand(Smi::FromInt(DONT_ENUM))); |
+ __ push(a0); |
+ __ CallRuntime(Runtime::kDefineGetterPropertyUnchecked, 4); |
break; |
case ObjectLiteral::Property::SETTER: |
- __ CallRuntime(Runtime::kDefineSetterPropertyUnchecked, 3); |
+ __ li(a0, Operand(Smi::FromInt(DONT_ENUM))); |
+ __ push(a0); |
+ __ CallRuntime(Runtime::kDefineSetterPropertyUnchecked, 4); |
break; |
default: |