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

Unified Diff: runtime/vm/assembler_mips.cc

Issue 131103025: Fixes ABI bug in MIPS. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 years, 11 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: runtime/vm/assembler_mips.cc
===================================================================
--- runtime/vm/assembler_mips.cc (revision 32137)
+++ runtime/vm/assembler_mips.cc (working copy)
@@ -114,12 +114,12 @@
const uint16_t low = Utils::Low16Bits(offset);
const uint16_t high = Utils::High16Bits(offset);
buffer_.EmitFixup(new PatchFarJump());
- lui(TMP, Immediate(high));
- ori(TMP, TMP, Immediate(low));
+ lui(T9, Immediate(high));
+ ori(T9, T9, Immediate(low));
if (link) {
- EmitRType(SPECIAL, TMP, R0, RA, 0, JALR);
+ EmitRType(SPECIAL, T9, R0, RA, 0, JALR);
} else {
- EmitRType(SPECIAL, TMP, R0, R0, 0, JR);
+ EmitRType(SPECIAL, T9, R0, R0, 0, JR);
}
}

Powered by Google App Engine
This is Rietveld 408576698