| Index: src/full-codegen/ppc/full-codegen-ppc.cc
|
| diff --git a/src/full-codegen/ppc/full-codegen-ppc.cc b/src/full-codegen/ppc/full-codegen-ppc.cc
|
| index 5600e69f3c71bf53fe99d62d5d62b589d6bb5d05..15d25a9538e827af41d559de81157234a0f2b984 100644
|
| --- a/src/full-codegen/ppc/full-codegen-ppc.cc
|
| +++ b/src/full-codegen/ppc/full-codegen-ppc.cc
|
| @@ -149,7 +149,7 @@ void FullCodeGenerator::Generate() {
|
| __ LoadRoot(r5, Heap::kRealStackLimitRootIndex);
|
| __ cmpl(ip, r5);
|
| __ bc_short(ge, &ok);
|
| - __ CallRuntime(Runtime::kThrowStackOverflow, 0);
|
| + __ CallRuntime(Runtime::kThrowStackOverflow);
|
| __ bind(&ok);
|
| }
|
| __ LoadRoot(ip, Heap::kUndefinedValueRootIndex);
|
| @@ -186,7 +186,7 @@ void FullCodeGenerator::Generate() {
|
| if (info->scope()->is_script_scope()) {
|
| __ push(r4);
|
| __ Push(info->scope()->GetScopeInfo(info->isolate()));
|
| - __ CallRuntime(Runtime::kNewScriptContext, 2);
|
| + __ CallRuntime(Runtime::kNewScriptContext);
|
| PrepareForBailoutForId(BailoutId::ScriptContext(), TOS_REG);
|
| // The new target value is not used, clobbering is safe.
|
| DCHECK_NULL(info->scope()->new_target_var());
|
| @@ -201,7 +201,7 @@ void FullCodeGenerator::Generate() {
|
| need_write_barrier = false;
|
| } else {
|
| __ push(r4);
|
| - __ CallRuntime(Runtime::kNewFunctionContext, 1);
|
| + __ CallRuntime(Runtime::kNewFunctionContext);
|
| }
|
| if (info->scope()->new_target_var() != nullptr) {
|
| __ pop(r6); // Preserve new target.
|
| @@ -317,7 +317,7 @@ void FullCodeGenerator::Generate() {
|
| }
|
|
|
| if (FLAG_trace) {
|
| - __ CallRuntime(Runtime::kTraceEnter, 0);
|
| + __ CallRuntime(Runtime::kTraceEnter);
|
| }
|
|
|
| // Visit the declarations and body unless there is an illegal
|
| @@ -436,7 +436,7 @@ void FullCodeGenerator::EmitReturnSequence() {
|
| // Push the return value on the stack as the parameter.
|
| // Runtime::TraceExit returns its parameter in r3
|
| __ push(r3);
|
| - __ CallRuntime(Runtime::kTraceExit, 1);
|
| + __ CallRuntime(Runtime::kTraceExit);
|
| }
|
| // Pretend that the exit is a backwards jump to the entry.
|
| int weight = 1;
|
| @@ -815,7 +815,7 @@ void FullCodeGenerator::VisitVariableDeclaration(
|
| }
|
| __ Push(r5, r3);
|
| __ Push(Smi::FromInt(variable->DeclarationPropertyAttributes()));
|
| - __ CallRuntime(Runtime::kDeclareLookupSlot, 3);
|
| + __ CallRuntime(Runtime::kDeclareLookupSlot);
|
| break;
|
| }
|
| }
|
| @@ -868,7 +868,7 @@ void FullCodeGenerator::VisitFunctionDeclaration(
|
| // Push initial value for function declaration.
|
| VisitForStackValue(declaration->fun());
|
| __ Push(Smi::FromInt(variable->DeclarationPropertyAttributes()));
|
| - __ CallRuntime(Runtime::kDeclareLookupSlot, 3);
|
| + __ CallRuntime(Runtime::kDeclareLookupSlot);
|
| break;
|
| }
|
| }
|
| @@ -880,7 +880,7 @@ void FullCodeGenerator::DeclareGlobals(Handle<FixedArray> pairs) {
|
| __ mov(r4, Operand(pairs));
|
| __ LoadSmiLiteral(r3, Smi::FromInt(DeclareGlobalsFlags()));
|
| __ Push(r4, r3);
|
| - __ CallRuntime(Runtime::kDeclareGlobals, 2);
|
| + __ CallRuntime(Runtime::kDeclareGlobals);
|
| // Return value is ignored.
|
| }
|
|
|
| @@ -888,7 +888,7 @@ void FullCodeGenerator::DeclareGlobals(Handle<FixedArray> pairs) {
|
| void FullCodeGenerator::DeclareModules(Handle<FixedArray> descriptions) {
|
| // Call the runtime to declare the modules.
|
| __ Push(descriptions);
|
| - __ CallRuntime(Runtime::kDeclareModules, 1);
|
| + __ CallRuntime(Runtime::kDeclareModules);
|
| // Return value is ignored.
|
| }
|
|
|
| @@ -1043,7 +1043,7 @@ void FullCodeGenerator::VisitForInStatement(ForInStatement* stmt) {
|
| // Get the set of properties to enumerate.
|
| __ bind(&call_runtime);
|
| __ push(r3); // Duplicate the enumerable object on the stack.
|
| - __ CallRuntime(Runtime::kGetPropertyNamesFast, 1);
|
| + __ CallRuntime(Runtime::kGetPropertyNamesFast);
|
| PrepareForBailoutForId(stmt->EnumId(), TOS_REG);
|
|
|
| // If we got a map from the runtime call, we can do a fast
|
| @@ -1125,7 +1125,7 @@ void FullCodeGenerator::VisitForInStatement(ForInStatement* stmt) {
|
| // any more. If the property has been removed while iterating, we
|
| // just skip it.
|
| __ Push(r4, r6); // Enumerable and current entry.
|
| - __ CallRuntime(Runtime::kForInFilter, 2);
|
| + __ CallRuntime(Runtime::kForInFilter);
|
| PrepareForBailoutForId(stmt->FilterId(), TOS_REG);
|
| __ mr(r6, r3);
|
| __ LoadRoot(r0, Heap::kUndefinedValueRootIndex);
|
| @@ -1184,8 +1184,8 @@ void FullCodeGenerator::EmitNewClosure(Handle<SharedFunctionInfo> info,
|
| __ CallStub(&stub);
|
| } else {
|
| __ Push(info);
|
| - __ CallRuntime(
|
| - pretenure ? Runtime::kNewClosure_Tenured : Runtime::kNewClosure, 1);
|
| + __ CallRuntime(pretenure ? Runtime::kNewClosure_Tenured
|
| + : Runtime::kNewClosure);
|
| }
|
| context()->Plug(r3);
|
| }
|
| @@ -1324,7 +1324,7 @@ void FullCodeGenerator::EmitDynamicLookupFastCase(VariableProxy* proxy,
|
| } else { // LET || CONST
|
| __ mov(r3, Operand(var->name()));
|
| __ push(r3);
|
| - __ CallRuntime(Runtime::kThrowReferenceError, 1);
|
| + __ CallRuntime(Runtime::kThrowReferenceError);
|
| }
|
| }
|
| __ b(done);
|
| @@ -1380,7 +1380,7 @@ void FullCodeGenerator::EmitVariableLoad(VariableProxy* proxy,
|
| // binding in harmony mode.
|
| __ mov(r3, Operand(var->name()));
|
| __ push(r3);
|
| - __ CallRuntime(Runtime::kThrowReferenceError, 1);
|
| + __ CallRuntime(Runtime::kThrowReferenceError);
|
| } else {
|
| // Uninitialized legacy const bindings are unholed.
|
| DCHECK(var->mode() == CONST_LEGACY);
|
| @@ -1407,7 +1407,7 @@ void FullCodeGenerator::EmitVariableLoad(VariableProxy* proxy,
|
| typeof_mode == NOT_INSIDE_TYPEOF
|
| ? Runtime::kLoadLookupSlot
|
| : Runtime::kLoadLookupSlotNoReferenceError;
|
| - __ CallRuntime(function_id, 2);
|
| + __ CallRuntime(function_id);
|
| __ bind(&done);
|
| context()->Plug(r3);
|
| }
|
| @@ -1455,7 +1455,7 @@ void FullCodeGenerator::VisitObjectLiteral(ObjectLiteral* expr) {
|
| __ LoadSmiLiteral(r3, Smi::FromInt(flags));
|
| if (MustCreateObjectLiteralWithRuntime(expr)) {
|
| __ Push(r6, r5, r4, r3);
|
| - __ CallRuntime(Runtime::kCreateObjectLiteral, 4);
|
| + __ CallRuntime(Runtime::kCreateObjectLiteral);
|
| } else {
|
| FastCloneShallowObjectStub stub(isolate(), expr->properties_count());
|
| __ CallStub(&stub);
|
| @@ -1517,7 +1517,7 @@ void FullCodeGenerator::VisitObjectLiteral(ObjectLiteral* expr) {
|
| }
|
| __ LoadSmiLiteral(r3, Smi::FromInt(SLOPPY)); // PropertyAttributes
|
| __ push(r3);
|
| - __ CallRuntime(Runtime::kSetProperty, 4);
|
| + __ CallRuntime(Runtime::kSetProperty);
|
| } else {
|
| __ Drop(3);
|
| }
|
| @@ -1528,7 +1528,7 @@ void FullCodeGenerator::VisitObjectLiteral(ObjectLiteral* expr) {
|
| __ push(r3);
|
| VisitForStackValue(value);
|
| DCHECK(property->emit_store());
|
| - __ CallRuntime(Runtime::kInternalSetPrototype, 2);
|
| + __ CallRuntime(Runtime::kInternalSetPrototype);
|
| break;
|
| case ObjectLiteral::Property::GETTER:
|
| if (property->emit_store()) {
|
| @@ -1554,7 +1554,7 @@ void FullCodeGenerator::VisitObjectLiteral(ObjectLiteral* expr) {
|
| EmitAccessor(it->second->setter);
|
| __ LoadSmiLiteral(r3, Smi::FromInt(NONE));
|
| __ push(r3);
|
| - __ CallRuntime(Runtime::kDefineAccessorPropertyUnchecked, 5);
|
| + __ CallRuntime(Runtime::kDefineAccessorPropertyUnchecked);
|
| }
|
|
|
| // Object literals have two parts. The "static" part on the left contains no
|
| @@ -1582,7 +1582,7 @@ void FullCodeGenerator::VisitObjectLiteral(ObjectLiteral* expr) {
|
| DCHECK(!property->is_computed_name());
|
| VisitForStackValue(value);
|
| DCHECK(property->emit_store());
|
| - __ CallRuntime(Runtime::kInternalSetPrototype, 2);
|
| + __ CallRuntime(Runtime::kInternalSetPrototype);
|
| } else {
|
| EmitPropertyKey(property, expr->GetIdForProperty(property_index));
|
| VisitForStackValue(value);
|
| @@ -1597,7 +1597,7 @@ void FullCodeGenerator::VisitObjectLiteral(ObjectLiteral* expr) {
|
| if (property->emit_store()) {
|
| __ LoadSmiLiteral(r3, Smi::FromInt(NONE));
|
| __ push(r3);
|
| - __ CallRuntime(Runtime::kDefineDataPropertyUnchecked, 4);
|
| + __ CallRuntime(Runtime::kDefineDataPropertyUnchecked);
|
| } else {
|
| __ Drop(3);
|
| }
|
| @@ -1610,13 +1610,13 @@ void FullCodeGenerator::VisitObjectLiteral(ObjectLiteral* expr) {
|
| case ObjectLiteral::Property::GETTER:
|
| __ mov(r3, Operand(Smi::FromInt(NONE)));
|
| __ push(r3);
|
| - __ CallRuntime(Runtime::kDefineGetterPropertyUnchecked, 4);
|
| + __ CallRuntime(Runtime::kDefineGetterPropertyUnchecked);
|
| break;
|
|
|
| case ObjectLiteral::Property::SETTER:
|
| __ mov(r3, Operand(Smi::FromInt(NONE)));
|
| __ push(r3);
|
| - __ CallRuntime(Runtime::kDefineSetterPropertyUnchecked, 4);
|
| + __ CallRuntime(Runtime::kDefineSetterPropertyUnchecked);
|
| break;
|
| }
|
| }
|
| @@ -1626,7 +1626,7 @@ void FullCodeGenerator::VisitObjectLiteral(ObjectLiteral* expr) {
|
| DCHECK(result_saved);
|
| __ LoadP(r3, MemOperand(sp));
|
| __ push(r3);
|
| - __ CallRuntime(Runtime::kToFastProperties, 1);
|
| + __ CallRuntime(Runtime::kToFastProperties);
|
| }
|
|
|
| if (result_saved) {
|
| @@ -1659,7 +1659,7 @@ void FullCodeGenerator::VisitArrayLiteral(ArrayLiteral* expr) {
|
| if (MustCreateArrayLiteralWithRuntime(expr)) {
|
| __ LoadSmiLiteral(r3, Smi::FromInt(expr->ComputeFlags()));
|
| __ Push(r6, r5, r4, r3);
|
| - __ CallRuntime(Runtime::kCreateArrayLiteral, 4);
|
| + __ CallRuntime(Runtime::kCreateArrayLiteral);
|
| } else {
|
| FastCloneShallowArrayStub stub(isolate(), allocation_site_mode);
|
| __ CallStub(&stub);
|
| @@ -1716,7 +1716,7 @@ void FullCodeGenerator::VisitArrayLiteral(ArrayLiteral* expr) {
|
| CALL_FUNCTION);
|
| } else {
|
| VisitForStackValue(subexpr);
|
| - __ CallRuntime(Runtime::kAppendElement, 2);
|
| + __ CallRuntime(Runtime::kAppendElement);
|
| }
|
|
|
| PrepareForBailoutForId(expr->GetIdForElement(array_index), NO_REGISTERS);
|
| @@ -2135,7 +2135,7 @@ void FullCodeGenerator::EmitGeneratorResume(
|
| DCHECK(!result_register().is(r4));
|
| __ Push(r4, result_register());
|
| __ Push(Smi::FromInt(resume_mode));
|
| - __ CallRuntime(Runtime::kResumeJSGeneratorObject, 3);
|
| + __ CallRuntime(Runtime::kResumeJSGeneratorObject);
|
| // Not reached: the runtime call returns elsewhere.
|
| __ stop("not-reached");
|
|
|
| @@ -2152,7 +2152,7 @@ void FullCodeGenerator::EmitCreateIteratorResult(bool done) {
|
|
|
| __ bind(&allocate);
|
| __ Push(Smi::FromInt(JSIteratorResult::kSize));
|
| - __ CallRuntime(Runtime::kAllocateInNewSpace, 1);
|
| + __ CallRuntime(Runtime::kAllocateInNewSpace);
|
|
|
| __ bind(&done_allocate);
|
| __ LoadNativeContextSlot(Context::ITERATOR_RESULT_MAP_INDEX, r4);
|
| @@ -2189,7 +2189,7 @@ void FullCodeGenerator::EmitNamedSuperPropertyLoad(Property* prop) {
|
|
|
| __ Push(key->value());
|
| __ Push(Smi::FromInt(language_mode()));
|
| - __ CallRuntime(Runtime::kLoadFromSuper, 4);
|
| + __ CallRuntime(Runtime::kLoadFromSuper);
|
| }
|
|
|
|
|
| @@ -2206,7 +2206,7 @@ void FullCodeGenerator::EmitKeyedSuperPropertyLoad(Property* prop) {
|
| // Stack: receiver, home_object, key.
|
| SetExpressionPosition(prop);
|
| __ Push(Smi::FromInt(language_mode()));
|
| - __ CallRuntime(Runtime::kLoadKeyedFromSuper, 4);
|
| + __ CallRuntime(Runtime::kLoadKeyedFromSuper);
|
| }
|
|
|
|
|
| @@ -2365,7 +2365,7 @@ void FullCodeGenerator::EmitClassDefineProperties(ClassLiteral* lit) {
|
| // need to check for an own read only property we special case this so we do
|
| // not need to do this for every property.
|
| if (property->is_static() && property->is_computed_name()) {
|
| - __ CallRuntime(Runtime::kThrowIfStaticPrototype, 1);
|
| + __ CallRuntime(Runtime::kThrowIfStaticPrototype);
|
| __ push(r3);
|
| }
|
|
|
| @@ -2380,19 +2380,19 @@ void FullCodeGenerator::EmitClassDefineProperties(ClassLiteral* lit) {
|
| case ObjectLiteral::Property::PROTOTYPE:
|
| UNREACHABLE();
|
| case ObjectLiteral::Property::COMPUTED:
|
| - __ CallRuntime(Runtime::kDefineClassMethod, 3);
|
| + __ CallRuntime(Runtime::kDefineClassMethod);
|
| break;
|
|
|
| case ObjectLiteral::Property::GETTER:
|
| __ mov(r3, Operand(Smi::FromInt(DONT_ENUM)));
|
| __ push(r3);
|
| - __ CallRuntime(Runtime::kDefineGetterPropertyUnchecked, 4);
|
| + __ CallRuntime(Runtime::kDefineGetterPropertyUnchecked);
|
| break;
|
|
|
| case ObjectLiteral::Property::SETTER:
|
| __ mov(r3, Operand(Smi::FromInt(DONT_ENUM)));
|
| __ push(r3);
|
| - __ CallRuntime(Runtime::kDefineSetterPropertyUnchecked, 4);
|
| + __ CallRuntime(Runtime::kDefineSetterPropertyUnchecked);
|
| break;
|
|
|
| default:
|
| @@ -2402,7 +2402,7 @@ void FullCodeGenerator::EmitClassDefineProperties(ClassLiteral* lit) {
|
|
|
| // Set both the prototype and constructor to have fast properties, and also
|
| // freeze them in strong mode.
|
| - __ CallRuntime(Runtime::kFinalizeClassDefinition, 2);
|
| + __ CallRuntime(Runtime::kFinalizeClassDefinition);
|
| }
|
|
|
|
|
| @@ -2530,7 +2530,7 @@ void FullCodeGenerator::EmitVariableAssignment(Variable* var, Token::Value op,
|
| __ bne(&assign);
|
| __ mov(r6, Operand(var->name()));
|
| __ push(r6);
|
| - __ CallRuntime(Runtime::kThrowReferenceError, 1);
|
| + __ CallRuntime(Runtime::kThrowReferenceError);
|
| // Perform the assignment.
|
| __ bind(&assign);
|
| EmitStoreToStackLocalOrContextSlot(var, location);
|
| @@ -2546,9 +2546,9 @@ void FullCodeGenerator::EmitVariableAssignment(Variable* var, Token::Value op,
|
| __ bne(&const_error);
|
| __ mov(r6, Operand(var->name()));
|
| __ push(r6);
|
| - __ CallRuntime(Runtime::kThrowReferenceError, 1);
|
| + __ CallRuntime(Runtime::kThrowReferenceError);
|
| __ bind(&const_error);
|
| - __ CallRuntime(Runtime::kThrowConstAssignError, 0);
|
| + __ CallRuntime(Runtime::kThrowConstAssignError);
|
|
|
| } else if (var->is_this() && var->mode() == CONST && op == Token::INIT) {
|
| // Initializing assignment to const {this} needs a write barrier.
|
| @@ -2560,7 +2560,7 @@ void FullCodeGenerator::EmitVariableAssignment(Variable* var, Token::Value op,
|
| __ beq(&uninitialized_this);
|
| __ mov(r4, Operand(var->name()));
|
| __ push(r4);
|
| - __ CallRuntime(Runtime::kThrowReferenceError, 1);
|
| + __ CallRuntime(Runtime::kThrowReferenceError);
|
| __ bind(&uninitialized_this);
|
| EmitStoreToStackLocalOrContextSlot(var, location);
|
|
|
| @@ -2572,7 +2572,7 @@ void FullCodeGenerator::EmitVariableAssignment(Variable* var, Token::Value op,
|
| __ mov(r4, Operand(var->name()));
|
| __ mov(r3, Operand(Smi::FromInt(language_mode())));
|
| __ Push(cp, r4, r3); // Context, name, language mode.
|
| - __ CallRuntime(Runtime::kStoreLookupSlot, 4);
|
| + __ CallRuntime(Runtime::kStoreLookupSlot);
|
| } else {
|
| // Assignment to var or initializing assignment to let/const in harmony
|
| // mode.
|
| @@ -2593,7 +2593,7 @@ void FullCodeGenerator::EmitVariableAssignment(Variable* var, Token::Value op,
|
| __ push(r3);
|
| __ mov(r3, Operand(var->name()));
|
| __ Push(cp, r3); // Context and name.
|
| - __ CallRuntime(Runtime::kInitializeLegacyConstLookupSlot, 3);
|
| + __ CallRuntime(Runtime::kInitializeLegacyConstLookupSlot);
|
| } else {
|
| DCHECK(var->IsStackAllocated() || var->IsContextSlot());
|
| Label skip;
|
| @@ -2608,7 +2608,7 @@ void FullCodeGenerator::EmitVariableAssignment(Variable* var, Token::Value op,
|
| } else {
|
| DCHECK(var->mode() == CONST_LEGACY && op != Token::INIT);
|
| if (is_strict(language_mode())) {
|
| - __ CallRuntime(Runtime::kThrowConstAssignError, 0);
|
| + __ CallRuntime(Runtime::kThrowConstAssignError);
|
| }
|
| // Silently ignore store in sloppy mode.
|
| }
|
| @@ -2643,8 +2643,7 @@ void FullCodeGenerator::EmitNamedSuperPropertyStore(Property* prop) {
|
| __ Push(key->value());
|
| __ Push(r3);
|
| __ CallRuntime((is_strict(language_mode()) ? Runtime::kStoreToSuper_Strict
|
| - : Runtime::kStoreToSuper_Sloppy),
|
| - 4);
|
| + : Runtime::kStoreToSuper_Sloppy));
|
| }
|
|
|
|
|
| @@ -2655,10 +2654,9 @@ void FullCodeGenerator::EmitKeyedSuperPropertyStore(Property* prop) {
|
| DCHECK(prop != NULL);
|
|
|
| __ Push(r3);
|
| - __ CallRuntime(
|
| - (is_strict(language_mode()) ? Runtime::kStoreKeyedToSuper_Strict
|
| - : Runtime::kStoreKeyedToSuper_Sloppy),
|
| - 4);
|
| + __ CallRuntime((is_strict(language_mode())
|
| + ? Runtime::kStoreKeyedToSuper_Strict
|
| + : Runtime::kStoreKeyedToSuper_Sloppy));
|
| }
|
|
|
|
|
| @@ -2781,7 +2779,7 @@ void FullCodeGenerator::EmitSuperCallWithLoadIC(Call* expr) {
|
| // - home_object
|
| // - key
|
| // - language_mode
|
| - __ CallRuntime(Runtime::kLoadFromSuper, 4);
|
| + __ CallRuntime(Runtime::kLoadFromSuper);
|
|
|
| // Replace home_object with target function.
|
| __ StoreP(r3, MemOperand(sp, kPointerSize));
|
| @@ -2840,7 +2838,7 @@ void FullCodeGenerator::EmitKeyedSuperCallWithLoadIC(Call* expr) {
|
| // - home_object
|
| // - key
|
| // - language_mode
|
| - __ CallRuntime(Runtime::kLoadKeyedFromSuper, 4);
|
| + __ CallRuntime(Runtime::kLoadKeyedFromSuper);
|
|
|
| // Replace home_object with target function.
|
| __ StoreP(r3, MemOperand(sp, kPointerSize));
|
| @@ -2895,7 +2893,7 @@ void FullCodeGenerator::EmitResolvePossiblyDirectEval(int arg_count) {
|
|
|
| // Do the runtime call.
|
| __ Push(r7, r6, r5, r4);
|
| - __ CallRuntime(Runtime::kResolvePossiblyDirectEval, 5);
|
| + __ CallRuntime(Runtime::kResolvePossiblyDirectEval);
|
| }
|
|
|
|
|
| @@ -2915,7 +2913,7 @@ void FullCodeGenerator::PushCalleeAndWithBaseObject(Call* expr) {
|
| DCHECK(!context_register().is(r5));
|
| __ mov(r5, Operand(callee->name()));
|
| __ Push(context_register(), r5);
|
| - __ CallRuntime(Runtime::kLoadLookupSlot, 2);
|
| + __ CallRuntime(Runtime::kLoadLookupSlot);
|
| __ Push(r3, r4); // Function, receiver.
|
| PrepareForBailoutForId(expr->LookupId(), NO_REGISTERS);
|
|
|
| @@ -3572,7 +3570,7 @@ void FullCodeGenerator::EmitToInteger(CallRuntime* expr) {
|
| Label done_convert;
|
| __ JumpIfSmi(r3, &done_convert);
|
| __ Push(r3);
|
| - __ CallRuntime(Runtime::kToInteger, 1);
|
| + __ CallRuntime(Runtime::kToInteger);
|
| __ bind(&done_convert);
|
| context()->Plug(r3);
|
| }
|
| @@ -3592,7 +3590,7 @@ void FullCodeGenerator::EmitToName(CallRuntime* expr) {
|
| __ ble(&done_convert);
|
| __ bind(&convert);
|
| __ Push(r3);
|
| - __ CallRuntime(Runtime::kToName, 1);
|
| + __ CallRuntime(Runtime::kToName);
|
| __ bind(&done_convert);
|
| context()->Plug(r3);
|
| }
|
| @@ -4054,7 +4052,7 @@ void FullCodeGenerator::EmitCreateIterResultObject(CallRuntime* expr) {
|
| __ b(&done);
|
|
|
| __ bind(&runtime);
|
| - __ CallRuntime(Runtime::kCreateIterResultObject, 2);
|
| + __ CallRuntime(Runtime::kCreateIterResultObject);
|
|
|
| __ bind(&done);
|
| context()->Plug(r3);
|
| @@ -4147,8 +4145,7 @@ void FullCodeGenerator::VisitUnaryOperation(UnaryOperation* expr) {
|
| VisitForStackValue(property->key());
|
| __ CallRuntime(is_strict(language_mode())
|
| ? Runtime::kDeleteProperty_Strict
|
| - : Runtime::kDeleteProperty_Sloppy,
|
| - 2);
|
| + : Runtime::kDeleteProperty_Sloppy);
|
| context()->Plug(r3);
|
| } else if (proxy != NULL) {
|
| Variable* var = proxy->var();
|
| @@ -4160,7 +4157,7 @@ void FullCodeGenerator::VisitUnaryOperation(UnaryOperation* expr) {
|
| __ LoadGlobalObject(r5);
|
| __ mov(r4, Operand(var->name()));
|
| __ Push(r5, r4);
|
| - __ CallRuntime(Runtime::kDeleteProperty_Sloppy, 2);
|
| + __ CallRuntime(Runtime::kDeleteProperty_Sloppy);
|
| context()->Plug(r3);
|
| } else if (var->IsStackAllocated() || var->IsContextSlot()) {
|
| // Result of deleting non-global, non-dynamic variables is false.
|
| @@ -4172,7 +4169,7 @@ void FullCodeGenerator::VisitUnaryOperation(UnaryOperation* expr) {
|
| DCHECK(!context_register().is(r5));
|
| __ mov(r5, Operand(var->name()));
|
| __ Push(context_register(), r5);
|
| - __ CallRuntime(Runtime::kDeleteLookupSlot, 2);
|
| + __ CallRuntime(Runtime::kDeleteLookupSlot);
|
| context()->Plug(r3);
|
| }
|
| } else {
|
| @@ -4602,7 +4599,7 @@ void FullCodeGenerator::VisitCompareOperation(CompareOperation* expr) {
|
| switch (op) {
|
| case Token::IN:
|
| VisitForStackValue(expr->right());
|
| - __ CallRuntime(Runtime::kHasProperty, 2);
|
| + __ CallRuntime(Runtime::kHasProperty);
|
| PrepareForBailoutBeforeSplit(expr, false, NULL, NULL);
|
| __ CompareRoot(r3, Heap::kTrueValueRootIndex);
|
| Split(eq, if_true, if_false, fall_through);
|
|
|