| Index: src/mips/lithium-codegen-mips.cc
|
| diff --git a/src/mips/lithium-codegen-mips.cc b/src/mips/lithium-codegen-mips.cc
|
| index bcf5d5cb7dff94fb10a72297a8d274a1cbe2b030..53683d6ed9ccfee384cc583eee428fd1c1a2aac2 100644
|
| --- a/src/mips/lithium-codegen-mips.cc
|
| +++ b/src/mips/lithium-codegen-mips.cc
|
| @@ -207,7 +207,7 @@ bool LCodeGen::GeneratePrologue() {
|
| need_write_barrier = false;
|
| } else {
|
| __ push(a1);
|
| - __ CallRuntime(Runtime::kHiddenNewFunctionContext, 1);
|
| + __ CallRuntime(Runtime::kNewFunctionContext, 1);
|
| }
|
| RecordSafepoint(Safepoint::kNoLazyDeopt);
|
| // Context is returned in both v0. It replaces the context passed to us.
|
| @@ -3527,7 +3527,7 @@ void LCodeGen::DoDeclareGlobals(LDeclareGlobals* instr) {
|
| __ li(scratch1(), Operand(Smi::FromInt(instr->hydrogen()->flags())));
|
| // The context is the first argument.
|
| __ Push(cp, scratch0(), scratch1());
|
| - CallRuntime(Runtime::kHiddenDeclareGlobals, 3, instr);
|
| + CallRuntime(Runtime::kDeclareGlobals, 3, instr);
|
| }
|
|
|
|
|
| @@ -3616,7 +3616,7 @@ void LCodeGen::DoDeferredMathAbsTaggedHeapNumber(LMathAbs* instr) {
|
| // Slow case: Call the runtime system to do the number allocation.
|
| __ bind(&slow);
|
|
|
| - CallRuntimeFromDeferred(Runtime::kHiddenAllocateHeapNumber, 0, instr,
|
| + CallRuntimeFromDeferred(Runtime::kAllocateHeapNumber, 0, instr,
|
| instr->context());
|
| // Set the pointer to the new heap number in tmp.
|
| if (!tmp1.is(v0))
|
| @@ -4482,7 +4482,7 @@ void LCodeGen::DoDeferredStringCharCodeAt(LStringCharCodeAt* instr) {
|
| __ SmiTag(index);
|
| __ push(index);
|
| }
|
| - CallRuntimeFromDeferred(Runtime::kHiddenStringCharCodeAt, 2, instr,
|
| + CallRuntimeFromDeferred(Runtime::kStringCharCodeAtRT, 2, instr,
|
| instr->context());
|
| __ AssertSmi(v0);
|
| __ SmiUntag(v0);
|
| @@ -4670,11 +4670,11 @@ void LCodeGen::DoDeferredNumberTagIU(LInstruction* instr,
|
|
|
| // NumberTagI and NumberTagD use the context from the frame, rather than
|
| // the environment's HContext or HInlinedContext value.
|
| - // They only call Runtime::kHiddenAllocateHeapNumber.
|
| + // They only call Runtime::kAllocateHeapNumber.
|
| // The corresponding HChange instructions are added in a phase that does
|
| // not have easy access to the local context.
|
| __ lw(cp, MemOperand(fp, StandardFrameConstants::kContextOffset));
|
| - __ CallRuntimeSaveDoubles(Runtime::kHiddenAllocateHeapNumber);
|
| + __ CallRuntimeSaveDoubles(Runtime::kAllocateHeapNumber);
|
| RecordSafepointWithRegisters(
|
| instr->pointer_map(), 0, Safepoint::kNoLazyDeopt);
|
| __ Subu(v0, v0, kHeapObjectTag);
|
| @@ -4735,11 +4735,11 @@ void LCodeGen::DoDeferredNumberTagD(LNumberTagD* instr) {
|
| PushSafepointRegistersScope scope(this, Safepoint::kWithRegisters);
|
| // NumberTagI and NumberTagD use the context from the frame, rather than
|
| // the environment's HContext or HInlinedContext value.
|
| - // They only call Runtime::kHiddenAllocateHeapNumber.
|
| + // They only call Runtime::kAllocateHeapNumber.
|
| // The corresponding HChange instructions are added in a phase that does
|
| // not have easy access to the local context.
|
| __ lw(cp, MemOperand(fp, StandardFrameConstants::kContextOffset));
|
| - __ CallRuntimeSaveDoubles(Runtime::kHiddenAllocateHeapNumber);
|
| + __ CallRuntimeSaveDoubles(Runtime::kAllocateHeapNumber);
|
| RecordSafepointWithRegisters(
|
| instr->pointer_map(), 0, Safepoint::kNoLazyDeopt);
|
| __ Subu(v0, v0, kHeapObjectTag);
|
| @@ -5362,7 +5362,7 @@ void LCodeGen::DoDeferredAllocate(LAllocate* instr) {
|
| __ Push(Smi::FromInt(flags));
|
|
|
| CallRuntimeFromDeferred(
|
| - Runtime::kHiddenAllocateInTargetSpace, 2, instr, instr->context());
|
| + Runtime::kAllocateInTargetSpace, 2, instr, instr->context());
|
| __ StoreToSafepointRegisterSlot(v0, result);
|
| }
|
|
|
| @@ -5396,7 +5396,7 @@ void LCodeGen::DoRegExpLiteral(LRegExpLiteral* instr) {
|
| __ li(t1, Operand(instr->hydrogen()->pattern()));
|
| __ li(t0, Operand(instr->hydrogen()->flags()));
|
| __ Push(t3, t2, t1, t0);
|
| - CallRuntime(Runtime::kHiddenMaterializeRegExpLiteral, 4, instr);
|
| + CallRuntime(Runtime::kMaterializeRegExpLiteral, 4, instr);
|
| __ mov(a1, v0);
|
|
|
| __ bind(&materialized);
|
| @@ -5409,7 +5409,7 @@ void LCodeGen::DoRegExpLiteral(LRegExpLiteral* instr) {
|
| __ bind(&runtime_allocate);
|
| __ li(a0, Operand(Smi::FromInt(size)));
|
| __ Push(a1, a0);
|
| - CallRuntime(Runtime::kHiddenAllocateInNewSpace, 1, instr);
|
| + CallRuntime(Runtime::kAllocateInNewSpace, 1, instr);
|
| __ pop(a1);
|
|
|
| __ bind(&allocated);
|
| @@ -5444,7 +5444,7 @@ void LCodeGen::DoFunctionLiteral(LFunctionLiteral* instr) {
|
| __ li(a1, Operand(pretenure ? factory()->true_value()
|
| : factory()->false_value()));
|
| __ Push(cp, a2, a1);
|
| - CallRuntime(Runtime::kHiddenNewClosure, 3, instr);
|
| + CallRuntime(Runtime::kNewClosure, 3, instr);
|
| }
|
| }
|
|
|
| @@ -5670,7 +5670,7 @@ void LCodeGen::DoDummyUse(LDummyUse* instr) {
|
| void LCodeGen::DoDeferredStackCheck(LStackCheck* instr) {
|
| PushSafepointRegistersScope scope(this, Safepoint::kWithRegisters);
|
| LoadContextFromDeferred(instr->context());
|
| - __ CallRuntimeSaveDoubles(Runtime::kHiddenStackGuard);
|
| + __ CallRuntimeSaveDoubles(Runtime::kStackGuard);
|
| RecordSafepointWithLazyDeopt(
|
| instr, RECORD_SAFEPOINT_WITH_REGISTERS_AND_NO_ARGUMENTS);
|
| ASSERT(instr->HasEnvironment());
|
| @@ -5890,7 +5890,7 @@ void LCodeGen::DoAllocateBlockContext(LAllocateBlockContext* instr) {
|
| Handle<ScopeInfo> scope_info = instr->scope_info();
|
| __ li(at, scope_info);
|
| __ Push(at, ToRegister(instr->function()));
|
| - CallRuntime(Runtime::kHiddenPushBlockContext, 2, instr);
|
| + CallRuntime(Runtime::kPushBlockContext, 2, instr);
|
| RecordSafepoint(Safepoint::kNoLazyDeopt);
|
| }
|
|
|
|
|