Index: src/interpreter/bytecode-peephole-optimizer.h |
diff --git a/src/interpreter/bytecode-peephole-optimizer.h b/src/interpreter/bytecode-peephole-optimizer.h |
index 22e47030ac234badb0b3aaf8579244de5c103f77..e6ada2aa1ef244c4f3c07c176f80ac26df4994ca 100644 |
--- a/src/interpreter/bytecode-peephole-optimizer.h |
+++ b/src/interpreter/bytecode-peephole-optimizer.h |
@@ -37,6 +37,7 @@ class BytecodePeepholeOptimizer final : public BytecodePipelineStage, |
void Flush(); |
void TryToRemoveLastExpressionPosition(const BytecodeNode* const current); |
+ bool TransformCurrentBytecode(BytecodeNode* const current); |
bool TransformLastAndCurrentBytecodes(BytecodeNode* const current); |
bool CanElideCurrent(const BytecodeNode* const current) const; |
bool CanElideLast(const BytecodeNode* const current) const; |
@@ -46,7 +47,6 @@ class BytecodePeepholeOptimizer final : public BytecodePipelineStage, |
// Simple substitution methods. |
bool RemoveToBooleanFromJump(BytecodeNode* const current); |
bool RemoveToBooleanFromLogicalNot(BytecodeNode* const current); |
- bool ChangeLdaToLdr(BytecodeNode* const current); |
void InvalidateLast(); |
bool LastIsValid() const; |