Index: src/ast.h |
diff --git a/src/ast.h b/src/ast.h |
index 0812472d0ecc3042e9f05b0848ff6dcd802f90f0..f14156f93c6235582325d7894be735c43cb69290 100644 |
--- a/src/ast.h |
+++ b/src/ast.h |
@@ -291,6 +291,7 @@ class SmallMapList { |
} |
void Add(Handle<Map> handle, Zone* zone) { |
+ ASSERT(!handle->is_deprecated()); |
list_.Add(handle.location(), zone); |
} |
@@ -1826,6 +1827,8 @@ class UnaryOperation: public Expression { |
public: |
DECLARE_NODE_TYPE(UnaryOperation) |
+ virtual bool ResultOverwriteAllowed(); |
+ |
Token::Value op() const { return op_; } |
Expression* expression() const { return expression_; } |
virtual int position() const { return pos_; } |
@@ -1833,6 +1836,8 @@ class UnaryOperation: public Expression { |
BailoutId MaterializeTrueId() { return materialize_true_id_; } |
BailoutId MaterializeFalseId() { return materialize_false_id_; } |
+ TypeFeedbackId UnaryOperationFeedbackId() const { return reuse(id()); } |
+ |
virtual void RecordToBooleanTypeFeedback(TypeFeedbackOracle* oracle); |
protected: |