Index: src/deoptimizer.h |
diff --git a/src/deoptimizer.h b/src/deoptimizer.h |
index 1d413e6babf39f79a84528db163de3598d06a400..ae65e0070ffeb46345c0b19a7cd8da54b2e62c65 100644 |
--- a/src/deoptimizer.h |
+++ b/src/deoptimizer.h |
@@ -402,22 +402,6 @@ |
public: |
enum BailoutType { EAGER, LAZY, SOFT, kLastBailoutType = SOFT }; |
- enum class BailoutState { |
- NO_REGISTERS, |
- TOS_REGISTER, |
- }; |
- |
- static const char* BailoutStateToString(BailoutState state) { |
- switch (state) { |
- case BailoutState::NO_REGISTERS: |
- return "NO_REGISTERS"; |
- case BailoutState::TOS_REGISTER: |
- return "TOS_REGISTER"; |
- } |
- UNREACHABLE(); |
- return nullptr; |
- } |
- |
#define DEOPT_MESSAGES_CONSTANTS(C, T) C, |
enum DeoptReason { |
DEOPT_MESSAGES_LIST(DEOPT_MESSAGES_CONSTANTS) kLastDeoptReason |