Index: src/x64/lithium-x64.h |
diff --git a/src/x64/lithium-x64.h b/src/x64/lithium-x64.h |
index bdc5b2b5cb19ee2a122bc821af5f78eed17b2c3a..268d22f418f8b8512e53cf020ab4d6fe5c39bb44 100644 |
--- a/src/x64/lithium-x64.h |
+++ b/src/x64/lithium-x64.h |
@@ -1842,8 +1842,9 @@ class LStackCheck: public LTemplateInstruction<0, 0, 0> { |
class LChunkBuilder; |
class LChunk: public ZoneObject { |
public: |
- explicit LChunk(HGraph* graph) |
+ explicit LChunk(CompilationInfo* info, HGraph* graph) |
: spill_slot_count_(0), |
+ info_(info), |
graph_(graph), |
instructions_(32), |
pointer_maps_(8), |
@@ -1860,6 +1861,7 @@ class LChunk: public ZoneObject { |
int ParameterAt(int index); |
int GetParameterStackSlot(int index) const; |
int spill_slot_count() const { return spill_slot_count_; } |
+ CompilationInfo* info() const { return info_; } |
HGraph* graph() const { return graph_; } |
const ZoneList<LInstruction*>* instructions() const { return &instructions_; } |
void AddGapMove(int index, LOperand* from, LOperand* to); |
@@ -1896,6 +1898,7 @@ class LChunk: public ZoneObject { |
private: |
int spill_slot_count_; |
+ CompilationInfo* info_; |
HGraph* const graph_; |
ZoneList<LInstruction*> instructions_; |
ZoneList<LPointerMap*> pointer_maps_; |
@@ -1905,8 +1908,9 @@ class LChunk: public ZoneObject { |
class LChunkBuilder BASE_EMBEDDED { |
public: |
- LChunkBuilder(HGraph* graph, LAllocator* allocator) |
+ LChunkBuilder(CompilationInfo* info, HGraph* graph, LAllocator* allocator) |
: chunk_(NULL), |
+ info_(info), |
graph_(graph), |
status_(UNUSED), |
current_instruction_(NULL), |
@@ -1935,6 +1939,7 @@ class LChunkBuilder BASE_EMBEDDED { |
}; |
LChunk* chunk() const { return chunk_; } |
+ CompilationInfo* info() const { return info_; } |
HGraph* graph() const { return graph_; } |
bool is_unused() const { return status_ == UNUSED; } |
@@ -2041,6 +2046,7 @@ class LChunkBuilder BASE_EMBEDDED { |
HArithmeticBinaryOperation* instr); |
LChunk* chunk_; |
+ CompilationInfo* info_; |
HGraph* const graph_; |
Status status_; |
HInstruction* current_instruction_; |