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

Unified Diff: runtime/vm/stub_code_x64.cc

Issue 811453002: Fix release x64 build: (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years 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 | « runtime/vm/assembler_x64_test.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/stub_code_x64.cc
diff --git a/runtime/vm/stub_code_x64.cc b/runtime/vm/stub_code_x64.cc
index abc897d9a102c68b8c7529e597b18e7edcc8236d..24dada0b112cbbb7c92f34670f23a80c90a3c240 100644
--- a/runtime/vm/stub_code_x64.cc
+++ b/runtime/vm/stub_code_x64.cc
@@ -1216,21 +1216,16 @@ static void EmitFastSmiOp(Assembler* assembler,
__ movq(R12, RCX);
__ orq(R12, RAX);
__ testq(R12, Immediate(kSmiTagMask));
-#if defined(DEBUG)
- const bool jump_length = Assembler::kFarJump;
-#else
- const bool jump_length = Assembler::kNearJump;
-#endif
- __ j(NOT_ZERO, not_smi_or_overflow, jump_length);
+ __ j(NOT_ZERO, not_smi_or_overflow);
switch (kind) {
case Token::kADD: {
__ addq(RAX, RCX);
- __ j(OVERFLOW, not_smi_or_overflow, jump_length);
+ __ j(OVERFLOW, not_smi_or_overflow);
break;
}
case Token::kSUB: {
__ subq(RAX, RCX);
- __ j(OVERFLOW, not_smi_or_overflow, jump_length);
+ __ j(OVERFLOW, not_smi_or_overflow);
break;
}
case Token::kEQ: {
« no previous file with comments | « runtime/vm/assembler_x64_test.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698