Index: src/arm/lithium-arm.h |
diff --git a/src/arm/lithium-arm.h b/src/arm/lithium-arm.h |
index 1d0ce1571a7c20b8b0d8a821940f6cea7da69f0f..f9feaf6de28ecab9453f20c19da8a130b67102ea 100644 |
--- a/src/arm/lithium-arm.h |
+++ b/src/arm/lithium-arm.h |
@@ -2758,17 +2758,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(); |
@@ -2804,24 +2798,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(DoubleRegister reg); |
@@ -2906,10 +2882,6 @@ class LChunkBuilder FINAL : public LChunkBuilderBase { |
LInstruction* DoArithmeticT(Token::Value op, |
HBinaryOperation* instr); |
- LPlatformChunk* chunk_; |
- CompilationInfo* info_; |
- HGraph* const graph_; |
- Status status_; |
HInstruction* current_instruction_; |
HBasicBlock* current_block_; |
HBasicBlock* next_block_; |