| Index: src/ia32/code-stubs-ia32.cc
|
| diff --git a/src/ia32/code-stubs-ia32.cc b/src/ia32/code-stubs-ia32.cc
|
| index 7ff278cf72dba4f75258b517ca65617479a03c15..668f1720525e3b73d6101e9381da743e7fef9b0b 100644
|
| --- a/src/ia32/code-stubs-ia32.cc
|
| +++ b/src/ia32/code-stubs-ia32.cc
|
| @@ -688,9 +688,7 @@ void LoadIndexedInterceptorStub::Generate(MacroAssembler* masm) {
|
| __ push(scratch); // return address
|
|
|
| // Perform tail call to the entry.
|
| - ExternalReference ref = ExternalReference(
|
| - IC_Utility(IC::kLoadElementWithInterceptor), masm->isolate());
|
| - __ TailCallExternalReference(ref, 2, 1);
|
| + __ TailCallRuntime(Runtime::kLoadElementWithInterceptor, 2, 1);
|
|
|
| __ bind(&slow);
|
| PropertyAccessCompiler::TailCallBuiltin(
|
| @@ -2446,11 +2444,10 @@ void CallICStub::GenerateMiss(MacroAssembler* masm) {
|
| __ push(edx);
|
|
|
| // 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 edi and exit the internal frame.
|
| __ mov(edi, eax);
|
| @@ -3905,15 +3902,13 @@ 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());
|
| FrameScope scope(masm, StackFrame::INTERNAL);
|
| __ push(edx); // Preserve edx and eax.
|
| __ push(eax);
|
| __ push(edx); // And also use them as the arguments.
|
| __ push(eax);
|
| __ push(Immediate(Smi::FromInt(op())));
|
| - __ CallExternalReference(miss, 3);
|
| + __ CallRuntime(Runtime::kCompareIC_Miss, 3);
|
| // Compute the entry point of the rewritten stub.
|
| __ lea(edi, FieldOperand(eax, Code::kHeaderSize));
|
| __ pop(eax);
|
|
|