Index: src/ia32/lithium-ia32.h |
diff --git a/src/ia32/lithium-ia32.h b/src/ia32/lithium-ia32.h |
index c7955fea427fd7337d227e8180b51c63c84149e1..75fed82538ce842040096fa65da6b2f4d780ed88 100644 |
--- a/src/ia32/lithium-ia32.h |
+++ b/src/ia32/lithium-ia32.h |
@@ -2750,17 +2750,11 @@ class LPlatformChunk FINAL : public LChunk { |
class LChunkBuilder FINAL : public LChunkBuilderBase { |
public: |
LChunkBuilder(CompilationInfo* info, HGraph* graph, LAllocator* allocator) |
- : LChunkBuilderBase(graph->zone()), |
- chunk_(NULL), |
- info_(info), |
- graph_(graph), |
- status_(UNUSED), |
+ : LChunkBuilderBase(info, graph), |
current_instruction_(NULL), |
current_block_(NULL), |
next_block_(NULL), |
- allocator_(allocator) { } |
- |
- Isolate* isolate() const { return graph_->isolate(); } |
+ allocator_(allocator) {} |
// Build the sequence for the graph. |
LPlatformChunk* Build(); |
@@ -2790,24 +2784,6 @@ class LChunkBuilder FINAL : public LChunkBuilderBase { |
LInstruction* DoFlooringDivI(HMathFloorOfDiv* instr); |
private: |
- enum Status { |
- UNUSED, |
- BUILDING, |
- DONE, |
- ABORTED |
- }; |
- |
- LPlatformChunk* chunk() const { return chunk_; } |
- CompilationInfo* info() const { return info_; } |
- HGraph* graph() const { return graph_; } |
- |
- bool is_unused() const { return status_ == UNUSED; } |
- bool is_building() const { return status_ == BUILDING; } |
- bool is_done() const { return status_ == DONE; } |
- bool is_aborted() const { return status_ == ABORTED; } |
- |
- void Abort(BailoutReason reason); |
- |
// Methods for getting operands for Use / Define / Temp. |
LUnallocated* ToUnallocated(Register reg); |
LUnallocated* ToUnallocated(XMMRegister reg); |
@@ -2903,10 +2879,6 @@ class LChunkBuilder FINAL : public LChunkBuilderBase { |
LOperand* GetStoreKeyedValueOperand(HStoreKeyed* instr); |
- LPlatformChunk* chunk_; |
- CompilationInfo* info_; |
- HGraph* const graph_; |
- Status status_; |
HInstruction* current_instruction_; |
HBasicBlock* current_block_; |
HBasicBlock* next_block_; |