Index: src/crankshaft/hydrogen-types.h |
diff --git a/src/crankshaft/hydrogen-types.h b/src/crankshaft/hydrogen-types.h |
index 0690ece34ff82db2a5203a5f99099b0764357ec1..3e688729241c75c26fb656ddd958d66dbabcce94 100644 |
--- a/src/crankshaft/hydrogen-types.h |
+++ b/src/crankshaft/hydrogen-types.h |
@@ -8,8 +8,8 @@ |
#include <climits> |
#include <iosfwd> |
+#include "src/ast/ast-types.h" |
#include "src/base/macros.h" |
-#include "src/types.h" |
namespace v8 { |
namespace internal { |
@@ -64,7 +64,7 @@ class HType final { |
HTYPE_LIST(DECLARE_IS_TYPE) |
#undef DECLARE_IS_TYPE |
- static HType FromType(Type* type) WARN_UNUSED_RESULT; |
+ static HType FromType(AstType* type) WARN_UNUSED_RESULT; |
static HType FromFieldType(Handle<FieldType> type, |
Zone* temp_zone) WARN_UNUSED_RESULT; |
static HType FromValue(Handle<Object> value) WARN_UNUSED_RESULT; |