Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(69)

Unified Diff: src/builtins/x87/builtins-x87.cc

Issue 2227763003: [turbofan] Rewrite ToObject as TurboFan stub. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Add comment with ES6 section Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: src/builtins/x87/builtins-x87.cc
diff --git a/src/builtins/x87/builtins-x87.cc b/src/builtins/x87/builtins-x87.cc
index ff5597b539e37d1d63453415d1389a7b5bed46f0..c2544715bf9c858fc65af204bc9d183ccf824c3e 100644
--- a/src/builtins/x87/builtins-x87.cc
+++ b/src/builtins/x87/builtins-x87.cc
@@ -2352,8 +2352,10 @@ void Builtins::Generate_CallFunction(MacroAssembler* masm,
__ Push(eax);
__ Push(edi);
__ mov(eax, ecx);
+ __ Push(esi);
ToObjectStub stub(masm->isolate());
__ CallStub(&stub);
+ __ Pop(esi);
__ mov(ecx, eax);
__ Pop(edi);
__ Pop(eax);
« no previous file with comments | « src/builtins/x64/builtins-x64.cc ('k') | src/code-stubs.h » ('j') | src/code-stubs.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698