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

Unified Diff: runtime/vm/assembler_arm64.h

Issue 513213002: Generate some intrinsics using our IR. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 years, 3 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
===================================================================
--- runtime/vm/assembler_arm64.h (revision 39909)
+++ runtime/vm/assembler_arm64.h (working copy)
@@ -1147,6 +1147,13 @@
kNotPatchable,
};
+ bool allow_constant_pool() const {
+ return allow_constant_pool_;
+ }
+ void set_allow_constant_pool(bool b) {
+ allow_constant_pool_ = b;
+ }
+
void LoadWordFromPoolOffset(Register dst, Register pp, uint32_t offset);
void LoadWordFromPoolOffsetFixed(Register dst, Register pp, uint32_t offset);
intptr_t FindExternalLabel(const ExternalLabel* label,
@@ -1315,6 +1322,8 @@
GrowableArray<CodeComment*> comments_;
+ bool allow_constant_pool_;
+
void AddSubHelper(OperandSize os, bool set_flags, bool subtract,
Register rd, Register rn, Operand o) {
ASSERT((rd != R31) && (rn != R31));

Powered by Google App Engine
This is Rietveld 408576698