| Index: src/arm/lithium-arm.h
|
| diff --git a/src/arm/lithium-arm.h b/src/arm/lithium-arm.h
|
| index e82c7c2f43d7a08b82b7570838af81ef9de1e21d..2cb4f4c9922845c34ea85c2a92dec8ac24b2d434 100644
|
| --- a/src/arm/lithium-arm.h
|
| +++ b/src/arm/lithium-arm.h
|
| @@ -404,17 +404,17 @@ class LInstructionGap V8_FINAL : public LGap {
|
|
|
| class LGoto V8_FINAL : public LTemplateInstruction<0, 0, 0> {
|
| public:
|
| - explicit LGoto(int block_id) : block_id_(block_id) { }
|
| + explicit LGoto(HBasicBlock* block) : block_(block) { }
|
|
|
| virtual bool HasInterestingComment(LCodeGen* gen) const V8_OVERRIDE;
|
| DECLARE_CONCRETE_INSTRUCTION(Goto, "goto")
|
| virtual void PrintDataTo(StringStream* stream) V8_OVERRIDE;
|
| virtual bool IsControl() const V8_OVERRIDE { return true; }
|
|
|
| - int block_id() const { return block_id_; }
|
| + int block_id() const { return block_->block_id(); }
|
|
|
| private:
|
| - int block_id_;
|
| + HBasicBlock* block_;
|
| };
|
|
|
|
|
| @@ -2753,6 +2753,8 @@ class LChunkBuilder V8_FINAL BASE_EMBEDDED {
|
| // Build the sequence for the graph.
|
| LPlatformChunk* Build();
|
|
|
| + LInstruction* CheckElideControlInstruction(HControlInstruction* instr);
|
| +
|
| // Declare methods that deal with the individual node types.
|
| #define DECLARE_DO(type) LInstruction* Do##type(H##type* node);
|
| HYDROGEN_CONCRETE_INSTRUCTION_LIST(DECLARE_DO)
|
|
|