Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(92)

Unified Diff: src/compiler/type-hint-analyzer.h

Issue 1494973002: [turbofan] Introduce ToBooleanHints on ToBoolean operators. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/compiler/js-operator.cc ('k') | src/compiler/type-hint-analyzer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_;
« no previous file with comments | « src/compiler/js-operator.cc ('k') | src/compiler/type-hint-analyzer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698