Index: src/lithium-allocator.h |
diff --git a/src/lithium-allocator.h b/src/lithium-allocator.h |
index 9ea6641d9d5a0df19dfda8f85edbc5e6eb65ed95..2953550ae8e879742ed19d0c4a9bba6cfc5bf5af 100644 |
--- a/src/lithium-allocator.h |
+++ b/src/lithium-allocator.h |
@@ -445,6 +445,13 @@ class LAllocator BASE_EMBEDDED { |
void Verify() const; |
#endif |
+ BitVector* assigned_registers() { |
+ return assigned_registers_; |
+ } |
+ BitVector* assigned_double_registers() { |
+ return assigned_double_registers_; |
+ } |
+ |
private: |
void MeetRegisterConstraints(); |
void ResolvePhis(); |
@@ -537,6 +544,11 @@ class LAllocator BASE_EMBEDDED { |
HBasicBlock* block, |
HBasicBlock* pred); |
+ inline void SetLiveRangeAssignedRegister(LiveRange* range, |
+ int reg, |
+ RegisterKind register_kind, |
+ Zone* zone); |
+ |
// Return parallel move that should be used to connect ranges split at the |
// given position. |
LParallelMove* GetConnectingParallelMove(LifetimePosition pos); |
@@ -591,6 +603,9 @@ class LAllocator BASE_EMBEDDED { |
RegisterKind mode_; |
int num_registers_; |
+ BitVector* assigned_registers_; |
+ BitVector* assigned_double_registers_; |
+ |
HGraph* graph_; |
bool has_osr_entry_; |