Index: src/builtins/x87/builtins-x87.cc |
diff --git a/src/builtins/x87/builtins-x87.cc b/src/builtins/x87/builtins-x87.cc |
index 8e096a3d0bb2d56b93ebaf3b2bd9035992c512c9..394f6e41848369f5152355d2348864d32b9ff774 100644 |
--- a/src/builtins/x87/builtins-x87.cc |
+++ b/src/builtins/x87/builtins-x87.cc |
@@ -2509,8 +2509,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); |