Index: src/ppc/code-stubs-ppc.cc |
diff --git a/src/ppc/code-stubs-ppc.cc b/src/ppc/code-stubs-ppc.cc |
index c18f0f7d79365c4ab4c68284c3959191bd6e73cb..3bd5936752ddbacbfe983fa4ce61dde83bcf65dd 100644 |
--- a/src/ppc/code-stubs-ppc.cc |
+++ b/src/ppc/code-stubs-ppc.cc |
@@ -1973,10 +1973,7 @@ void LoadIndexedInterceptorStub::Generate(MacroAssembler* masm) { |
__ Push(receiver, key); // Receiver, key. |
// Perform tail call to the entry. |
- __ TailCallExternalReference( |
- ExternalReference(IC_Utility(IC::kLoadElementWithInterceptor), |
- masm->isolate()), |
- 2, 1); |
+ __ TailCallRuntime(Runtime::kLoadElementWithInterceptor, 2, 1); |
__ bind(&slow); |
PropertyAccessCompiler::TailCallBuiltin( |
@@ -3087,11 +3084,10 @@ void CallICStub::GenerateMiss(MacroAssembler* masm) { |
__ Push(r4, r5, r6); |
// Call the entry. |
- IC::UtilityId id = GetICState() == DEFAULT ? IC::kCallIC_Miss |
- : IC::kCallIC_Customization_Miss; |
- |
- ExternalReference miss = ExternalReference(IC_Utility(id), masm->isolate()); |
- __ CallExternalReference(miss, 3); |
+ Runtime::FunctionId id = GetICState() == DEFAULT |
+ ? Runtime::kCallIC_Miss |
+ : Runtime::kCallIC_Customization_Miss; |
+ __ CallRuntime(id, 3); |
// Move result to r4 and exit the internal frame. |
__ mr(r4, r3); |
@@ -4046,15 +4042,12 @@ void CompareICStub::GenerateKnownObjects(MacroAssembler* masm) { |
void CompareICStub::GenerateMiss(MacroAssembler* masm) { |
{ |
// Call the runtime system in a fresh internal frame. |
- ExternalReference miss = |
- ExternalReference(IC_Utility(IC::kCompareIC_Miss), isolate()); |
- |
FrameAndConstantPoolScope scope(masm, StackFrame::INTERNAL); |
__ Push(r4, r3); |
__ Push(r4, r3); |
__ LoadSmiLiteral(r0, Smi::FromInt(op())); |
__ push(r0); |
- __ CallExternalReference(miss, 3); |
+ __ CallRuntime(Runtime::kCompareIC_Miss, 3); |
// Compute the entry point of the rewritten stub. |
__ addi(r5, r3, Operand(Code::kHeaderSize - kHeapObjectTag)); |
// Restore registers. |