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

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

Issue 2258093002: MIPS64: Fix [wasm] Support validation of asm.js modules with != 3 args. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/builtins/mips64/builtins-mips64.cc
diff --git a/src/builtins/mips64/builtins-mips64.cc b/src/builtins/mips64/builtins-mips64.cc
index 830ad3dac58e3950b785c6c6f474c963164fbd78..cbdb5c32505aef75566fa90d205a330213d971cf 100644
--- a/src/builtins/mips64/builtins-mips64.cc
+++ b/src/builtins/mips64/builtins-mips64.cc
@@ -1453,7 +1453,7 @@ void Builtins::Generate_InstantiateAsmJs(MacroAssembler* masm) {
__ Branch(&over, ne, t2, Operand(j));
}
for (int i = j - 1; i >= 0; --i) {
- __ lw(t2, MemOperand(fp, StandardFrameConstants::kCallerSPOffset +
+ __ ld(t2, MemOperand(fp, StandardFrameConstants::kCallerSPOffset +
i * kPointerSize));
__ push(t2);
}
@@ -1477,8 +1477,8 @@ void Builtins::Generate_InstantiateAsmJs(MacroAssembler* masm) {
__ SmiUntag(t2);
scope.GenerateLeaveFrame();
- __ Addu(t2, t2, Operand(1));
- __ Lsa(sp, sp, t2, kPointerSizeLog2);
+ __ Daddu(t2, t2, Operand(1));
+ __ Dlsa(sp, sp, t2, kPointerSizeLog2);
__ Ret();
__ bind(&failed);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698