Index: src/interpreter/bytecodes.cc |
diff --git a/src/interpreter/bytecodes.cc b/src/interpreter/bytecodes.cc |
index 4a818496d46ffcdbcc647a0edfe876d4eedbde6c..b0c90da3e8b7f085c3578b27bc43ecffe54f03a7 100644 |
--- a/src/interpreter/bytecodes.cc |
+++ b/src/interpreter/bytecodes.cc |
@@ -100,14 +100,6 @@ const char* Bytecodes::OperandSizeToString(OperandSize operand_size) { |
return ""; |
} |
- |
-// static |
-uint8_t Bytecodes::ToByte(Bytecode bytecode) { |
- DCHECK(bytecode <= Bytecode::kLast); |
- return static_cast<uint8_t>(bytecode); |
-} |
- |
- |
// static |
Bytecode Bytecodes::FromByte(uint8_t value) { |
Bytecode bytecode = static_cast<Bytecode>(value); |