Index: src/builtins/ia32/builtins-ia32.cc |
diff --git a/src/builtins/ia32/builtins-ia32.cc b/src/builtins/ia32/builtins-ia32.cc |
index 9dd621fca85827cc66f2d605e7aa93120d980392..29df50a0c7f9bb280dc28eb2b271a043095e703b 100644 |
--- a/src/builtins/ia32/builtins-ia32.cc |
+++ b/src/builtins/ia32/builtins-ia32.cc |
@@ -2485,8 +2485,8 @@ void Builtins::Generate_CallFunction(MacroAssembler* masm, |
__ Push(edi); |
__ mov(eax, ecx); |
__ Push(esi); |
- ToObjectStub stub(masm->isolate()); |
- __ CallStub(&stub); |
+ __ Call(masm->isolate()->builtins()->ToObject(), |
+ RelocInfo::CODE_TARGET); |
__ Pop(esi); |
__ mov(ecx, eax); |
__ Pop(edi); |