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

Unified Diff: runtime/vm/assembler_arm64.h

Issue 410333003: Shorter TryAllocate instruction sequence on ARM/ARM64/MIPS. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 5 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_arm64.h
diff --git a/runtime/vm/assembler_arm64.h b/runtime/vm/assembler_arm64.h
index 03224f68f373e43177bb922351f953c09da032bf..ac082d1913bdfafd7b95f1088a3a6f7b06c2f458 100644
--- a/runtime/vm/assembler_arm64.h
+++ b/runtime/vm/assembler_arm64.h
@@ -431,6 +431,7 @@ class Assembler : public ValueObject {
static void InitializeMemoryWithBreakpoints(uword data, intptr_t length);
void Comment(const char* format, ...) PRINTF_ATTRIBUTE(2, 3);
+ static bool EmittingComments();
const Code::Comments& GetCodeComments() const;
@@ -1217,6 +1218,7 @@ class Assembler : public ValueObject {
void TryAllocate(const Class& cls,
Label* failure,
Register instance_reg,
+ Register temp_reg,
regis 2014/07/23 22:29:33 Not required. We have 2 temp registers on ARM64: T
Register pp);
Address ElementAddressForIntIndex(bool is_external,

Powered by Google App Engine
This is Rietveld 408576698