Index: src/ast.h |
diff --git a/src/ast.h b/src/ast.h |
index 802ac65962501dfa47db0f43f4e4de95c984a145..6fb930973cc859e08b31f20deb4b09cba9aab43e 100644 |
--- a/src/ast.h |
+++ b/src/ast.h |
@@ -1777,9 +1777,6 @@ class CompareOperation: public Expression { |
// Type feedback information. |
TypeFeedbackId CompareOperationFeedbackId() const { return reuse(id()); } |
- void RecordTypeFeedback(TypeFeedbackOracle* oracle); |
- bool IsSmiCompare() { return compare_type_ == SMI_ONLY; } |
- bool IsObjectCompare() { return compare_type_ == OBJECT_ONLY; } |
// Match special cases. |
bool IsLiteralCompareTypeof(Expression** expr, Handle<String>* check); |
@@ -1796,8 +1793,7 @@ class CompareOperation: public Expression { |
op_(op), |
left_(left), |
right_(right), |
- pos_(pos), |
- compare_type_(NONE) { |
+ pos_(pos) { |
ASSERT(Token::IsCompareOp(op)); |
} |
@@ -1806,9 +1802,6 @@ class CompareOperation: public Expression { |
Expression* left_; |
Expression* right_; |
int pos_; |
- |
- enum CompareTypeFeedback { NONE, SMI_ONLY, OBJECT_ONLY }; |
- CompareTypeFeedback compare_type_; |
}; |