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

Unified Diff: runtime/vm/locations.h

Issue 811823002: Support remaping of pair location inside materializations for slow paths. (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
Index: runtime/vm/locations.h
diff --git a/runtime/vm/locations.h b/runtime/vm/locations.h
index e4bf340f18a8e726c73f515c5c1549899c8eb5b3..0b9bf509a1bd4cb791483adc5a54582ff81403ac 100644
--- a/runtime/vm/locations.h
+++ b/runtime/vm/locations.h
@@ -11,10 +11,12 @@
namespace dart {
+
class BufferFormatter;
-class Value;
-class PairLocation;
class ConstantInstr;
+class Definition;
+class PairLocation;
+class Value;
enum Representation {
@@ -370,6 +372,10 @@ class Location : public ValueObject {
Location Copy() const;
+ Location RemapForSlowPath(Definition* def,
+ intptr_t* cpu_reg_slots,
+ intptr_t* fpu_reg_slots) const;
+
private:
explicit Location(uword value) : value_(value) { }

Powered by Google App Engine
This is Rietveld 408576698