Index: src/interpreter/bytecode-peephole-optimizer.cc |
diff --git a/src/interpreter/bytecode-peephole-optimizer.cc b/src/interpreter/bytecode-peephole-optimizer.cc |
index 24a9ddcc046d3da73e258e5537ec8e2ee64421e2..f8d1129183c15f1175d0f028af538c0e88f670b3 100644 |
--- a/src/interpreter/bytecode-peephole-optimizer.cc |
+++ b/src/interpreter/bytecode-peephole-optimizer.cc |
@@ -269,16 +269,6 @@ void BytecodePeepholeOptimizer::UpdateLastJumpAction( |
DCHECK(Bytecodes::IsJump(node->bytecode())); |
} |
-void BytecodePeepholeOptimizer::ChangeJumpBytecodeAction( |
- BytecodeNode* const node, const PeepholeActionAndData* action_data) { |
- DCHECK(LastIsValid()); |
- DCHECK(Bytecodes::IsJump(node->bytecode())); |
- |
- next_stage()->Write(last()); |
- InvalidateLast(); |
- node->replace_bytecode(action_data->bytecode); |
-} |
- |
void BytecodePeepholeOptimizer::ElideLastBeforeJumpAction( |
BytecodeNode* const node, const PeepholeActionAndData* action_data) { |
DCHECK(LastIsValid()); |