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

Unified Diff: runtime/vm/intermediate_language_mips.cc

Issue 14556002: Uses slt and sltu for signed vs. unsigned comparison by the MIPS assembler. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 8 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/intermediate_language_mips.cc
===================================================================
--- runtime/vm/intermediate_language_mips.cc (revision 22132)
+++ runtime/vm/intermediate_language_mips.cc (working copy)
@@ -1026,7 +1026,7 @@
Label* deopt = compiler->AddDeoptStub(deopt_id(), kDeoptInt32Load);
__ lw(result, element_address);
// Verify that the signed value in 'result' can fit inside a Smi.
- __ BranchLess(result, 0xC0000000, deopt);
+ __ BranchSignedLess(result, 0xC0000000, deopt);
__ SmiTag(result);
}
break;

Powered by Google App Engine
This is Rietveld 408576698