Index: src/deoptimizer.h |
diff --git a/src/deoptimizer.h b/src/deoptimizer.h |
index 35c3cbe66c49a7517fbf87f9c1779ede62f5192c..91b6fca298f398c4de8f12300ef04857b90a6fa1 100644 |
--- a/src/deoptimizer.h |
+++ b/src/deoptimizer.h |
@@ -181,21 +181,12 @@ class Deoptimizer : public Malloced { |
DEOPT_MESSAGES_LIST(DEOPT_MESSAGES_CONSTANTS) kLastDeoptReason |
}; |
#undef DEOPT_MESSAGES_CONSTANTS |
- |
static const char* GetDeoptReason(DeoptReason deopt_reason); |
struct DeoptInfo { |
DeoptInfo(int r, const char* m, DeoptReason d) |
: raw_position(r), mnemonic(m), deopt_reason(d) {} |
- bool operator==(const DeoptInfo& other) const { |
- return raw_position == other.raw_position && |
- CStringEquals(mnemonic, other.mnemonic) && |
- deopt_reason == other.deopt_reason; |
- } |
- |
- bool operator!=(const DeoptInfo& other) const { return !(*this == other); } |
- |
int raw_position; |
const char* mnemonic; |
DeoptReason deopt_reason; |
@@ -214,8 +205,7 @@ class Deoptimizer : public Malloced { |
bool IsEquivalentTo(const JumpTableEntry& other) const { |
return address == other.address && bailout_type == other.bailout_type && |
- needs_frame == other.needs_frame && |
- (!FLAG_trace_deopt || deopt_info == other.deopt_info); |
+ needs_frame == other.needs_frame; |
} |
Label label; |