Index: src/interpreter/bytecodes.cc |
diff --git a/src/interpreter/bytecodes.cc b/src/interpreter/bytecodes.cc |
index 6604191c5953cccaf137a938721692f0a9da596d..6e39db774dd8c7223b5e1ad2c41c2bc46633ba67 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); |