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

Unified Diff: src/mips/code-stubs-mips.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 | « no previous file | src/mips64/code-stubs-mips64.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/mips/code-stubs-mips.cc
diff --git a/src/mips/code-stubs-mips.cc b/src/mips/code-stubs-mips.cc
index ec5cdafec8037c8644a3853134d321fe6aa06d6f..cb512801f23678d08046216c446fcc779e5c28e5 100644
--- a/src/mips/code-stubs-mips.cc
+++ b/src/mips/code-stubs-mips.cc
@@ -2820,8 +2820,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 | « no previous file | src/mips64/code-stubs-mips64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698