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

Unified Diff: runtime/vm/assembler_macros_x64.cc

Issue 10875030: Add support for XMM registers in SSA code generation pipeline. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: fix a bug pointed out by Florian Created 8 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 | « runtime/vm/assembler_macros_x64.h ('k') | runtime/vm/assembler_x64.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/assembler_macros_x64.cc
diff --git a/runtime/vm/assembler_macros_x64.cc b/runtime/vm/assembler_macros_x64.cc
index b2b27f8577622d8e179360d383c80ed91358a8f9..fc01baf5836f423c0bbd620dab0a9fb8ec869b6c 100644
--- a/runtime/vm/assembler_macros_x64.cc
+++ b/runtime/vm/assembler_macros_x64.cc
@@ -19,6 +19,7 @@ DECLARE_FLAG(bool, inline_alloc);
void AssemblerMacros::TryAllocate(Assembler* assembler,
const Class& cls,
Label* failure,
+ bool near_jump,
Register instance_reg) {
ASSERT(failure != NULL);
if (FLAG_inline_alloc) {
@@ -30,7 +31,7 @@ void AssemblerMacros::TryAllocate(Assembler* assembler,
// instance_reg: potential next object start.
__ movq(TMP, Immediate(heap->EndAddress()));
__ cmpq(instance_reg, Address(TMP, 0));
- __ j(ABOVE_EQUAL, failure, Assembler::kNearJump);
+ __ j(ABOVE_EQUAL, failure, near_jump);
// Successfully allocated the object, now update top to point to
// next object start and store the class in the class field of object.
__ movq(TMP, Immediate(heap->TopAddress()));
« no previous file with comments | « runtime/vm/assembler_macros_x64.h ('k') | runtime/vm/assembler_x64.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698