| Index: src/interpreter/bytecode-peephole-optimizer.h
|
| diff --git a/src/interpreter/bytecode-peephole-optimizer.h b/src/interpreter/bytecode-peephole-optimizer.h
|
| index 95c9d57795e3029f5d49efa9699715d02bd8a67d..e30e3b47bd02052d73d7c6bf35a86c84547917e5 100644
|
| --- a/src/interpreter/bytecode-peephole-optimizer.h
|
| +++ b/src/interpreter/bytecode-peephole-optimizer.h
|
| @@ -21,8 +21,7 @@ class BytecodePeepholeActionAndData;
|
| class BytecodePeepholeOptimizer final : public BytecodePipelineStage,
|
| public ZoneObject {
|
| public:
|
| - BytecodePeepholeOptimizer(ConstantArrayBuilder* constant_array_builder,
|
| - BytecodePipelineStage* next_stage);
|
| + explicit BytecodePeepholeOptimizer(BytecodePipelineStage* next_stage);
|
|
|
| // BytecodePipelineStage interface.
|
| void Write(BytecodeNode* node) override;
|
| @@ -48,13 +47,9 @@ class BytecodePeepholeOptimizer final : public BytecodePipelineStage,
|
| bool LastIsValid() const;
|
| void SetLast(const BytecodeNode* const node);
|
|
|
| - Handle<Object> GetConstantForIndexOperand(const BytecodeNode* const node,
|
| - int index) const;
|
| -
|
| BytecodePipelineStage* next_stage() const { return next_stage_; }
|
| BytecodeNode* last() { return &last_; }
|
|
|
| - ConstantArrayBuilder* constant_array_builder_;
|
| BytecodePipelineStage* next_stage_;
|
| BytecodeNode last_;
|
|
|
|
|