Index: src/compiler/type-hint-analyzer.h |
diff --git a/src/compiler/type-hint-analyzer.h b/src/compiler/type-hint-analyzer.h |
index ee3bebfd7cb4139b212c5655d7c4214cacd317e1..1a799056335bd5994084affe7e8c858b4884221b 100644 |
--- a/src/compiler/type-hint-analyzer.h |
+++ b/src/compiler/type-hint-analyzer.h |
@@ -5,18 +5,14 @@ |
#ifndef V8_COMPILER_TYPE_HINT_ANALYZER_H_ |
#define V8_COMPILER_TYPE_HINT_ANALYZER_H_ |
+#include "src/compiler/type-hints.h" |
#include "src/handles.h" |
-#include "src/utils.h" |
#include "src/zone-containers.h" |
namespace v8 { |
namespace internal { |
namespace compiler { |
-// Forward declarations. |
-class BinaryOperationHints; |
- |
- |
// The result of analyzing type hints. |
class TypeHintAnalysis final : public ZoneObject { |
public: |
@@ -26,6 +22,7 @@ class TypeHintAnalysis final : public ZoneObject { |
bool GetBinaryOperationHints(TypeFeedbackId id, |
BinaryOperationHints* hints) const; |
+ bool GetToBooleanHints(TypeFeedbackId id, ToBooleanHints* hints) const; |
private: |
Infos const infos_; |