Index: src/ast.h |
diff --git a/src/ast.h b/src/ast.h |
index d7119239c78355de4ac1c97fcbe255847c36d4fe..7d820d7fb5e1ab882ab1622f1e35d0470ca8cccc 100644 |
--- a/src/ast.h |
+++ b/src/ast.h |
@@ -3188,17 +3188,9 @@ private: \ |
class AstConstructionVisitor BASE_EMBEDDED { |
public: |
- AstConstructionVisitor() |
- : dont_crankshaft_reason_(kNoReason), dont_turbofan_reason_(kNoReason) {} |
+ AstConstructionVisitor() {} |
AstProperties* ast_properties() { return &properties_; } |
- BailoutReason dont_optimize_reason() { |
- if (dont_turbofan_reason_ != kNoReason) { |
- return dont_turbofan_reason_; |
- } else { |
- return dont_crankshaft_reason_; |
- } |
- } |
private: |
template<class> friend class AstNodeFactory; |
@@ -3209,14 +3201,6 @@ class AstConstructionVisitor BASE_EMBEDDED { |
AST_NODE_LIST(DEF_VISIT) |
#undef DEF_VISIT |
- void add_flag(AstPropertiesFlag flag) { properties_.flags()->Add(flag); } |
- void set_dont_crankshaft_reason(BailoutReason reason) { |
- dont_crankshaft_reason_ = reason; |
- } |
- void set_dont_turbofan_reason(BailoutReason reason) { |
- dont_turbofan_reason_ = reason; |
- } |
- |
void add_slot_node(AstNode* slot_node) { |
FeedbackVectorRequirements reqs = slot_node->ComputeFeedbackRequirements(); |
if (reqs.slots() > 0) { |
@@ -3232,8 +3216,6 @@ class AstConstructionVisitor BASE_EMBEDDED { |
} |
AstProperties properties_; |
- BailoutReason dont_crankshaft_reason_; |
- BailoutReason dont_turbofan_reason_; |
}; |