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

Unified Diff: runtime/vm/locations.h

Issue 10916090: Support immediate operands for array bounds checks. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: addressed comment Created 8 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
« no previous file with comments | « runtime/vm/intermediate_language_x64.cc ('k') | runtime/vm/locations.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/locations.h
===================================================================
--- runtime/vm/locations.h (revision 11818)
+++ runtime/vm/locations.h (working copy)
@@ -12,6 +12,7 @@
namespace dart {
class BufferFormatter;
+class Value;
// Location objects are used to connect register allocator and code generator.
// Instruction templates used by code generator have a corresponding
@@ -229,6 +230,10 @@
return payload() - kStackIndexBias;
}
+ // Constants.
+ static Location RegisterOrConstant(Value* value);
+ static Location FixedRegisterOrConstant(Value* value, Register reg);
+
const char* Name() const;
void PrintTo(BufferFormatter* f) const;
void Print() const;
« no previous file with comments | « runtime/vm/intermediate_language_x64.cc ('k') | runtime/vm/locations.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698