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

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

Issue 2227763003: [turbofan] Rewrite ToObject as TurboFan stub. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Revert "Delete hydrogen toObject" 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
« no previous file with comments | « src/builtins/ia32/builtins-ia32.cc ('k') | src/builtins/mips64/builtins-mips64.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/builtins/mips/builtins-mips.cc
diff --git a/src/builtins/mips/builtins-mips.cc b/src/builtins/mips/builtins-mips.cc
index 94d0ef643d7b72a4a30bee738f67fc988405696b..4d39febdc37ca067d28f835df9c8b52f6d6a4314 100644
--- a/src/builtins/mips/builtins-mips.cc
+++ b/src/builtins/mips/builtins-mips.cc
@@ -2413,8 +2413,10 @@ void Builtins::Generate_CallFunction(MacroAssembler* masm,
__ sll(a0, a0, kSmiTagSize); // Smi tagged.
__ Push(a0, a1);
__ mov(a0, a3);
+ __ Push(cp);
ToObjectStub stub(masm->isolate());
__ CallStub(&stub);
+ __ Pop(cp);
__ mov(a3, v0);
__ Pop(a0, a1);
__ sra(a0, a0, kSmiTagSize); // Un-tag.
« no previous file with comments | « src/builtins/ia32/builtins-ia32.cc ('k') | src/builtins/mips64/builtins-mips64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698