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

Unified Diff: src/mips64/code-stubs-mips64.cc

Issue 1824893002: MIPS: Fix '[stubs] Split ToNumberStub into reusable subparts.' (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 9 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/mips/code-stubs-mips.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/mips64/code-stubs-mips64.cc
diff --git a/src/mips64/code-stubs-mips64.cc b/src/mips64/code-stubs-mips64.cc
index ce9eb3d20233cadfae8b29831575d342feec5942..669eac653c6fd994757c7c9ed9a98564cd4295c0 100644
--- a/src/mips64/code-stubs-mips64.cc
+++ b/src/mips64/code-stubs-mips64.cc
@@ -2824,8 +2824,7 @@ void StringToNumberStub::Generate(MacroAssembler* masm) {
__ And(at, a2, Operand(String::kContainsCachedArrayIndexMask));
__ Branch(&runtime, ne, at, Operand(zero_reg));
__ IndexFromHash(a2, v0);
- __ Ret(USE_DELAY_SLOT);
- __ mov(v0, a0); // In delay slot.
+ __ Ret();
__ bind(&runtime);
__ Push(a0); // Push argument.
« no previous file with comments | « src/mips/code-stubs-mips.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698