diff options
Diffstat (limited to 'deps/v8/src/field-type.cc')
-rw-r--r-- | deps/v8/src/field-type.cc | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/deps/v8/src/field-type.cc b/deps/v8/src/field-type.cc index 2e4cbfbedd..b3b24e2c14 100644 --- a/deps/v8/src/field-type.cc +++ b/deps/v8/src/field-type.cc @@ -4,9 +4,9 @@ #include "src/field-type.h" +#include "src/ast/ast-types.h" #include "src/handles-inl.h" #include "src/ostreams.h" -#include "src/types.h" namespace v8 { namespace internal { @@ -71,11 +71,11 @@ bool FieldType::NowIs(FieldType* other) { bool FieldType::NowIs(Handle<FieldType> other) { return NowIs(*other); } -Type* FieldType::Convert(Zone* zone) { - if (IsAny()) return Type::NonInternal(); - if (IsNone()) return Type::None(); +AstType* FieldType::Convert(Zone* zone) { + if (IsAny()) return AstType::NonInternal(); + if (IsNone()) return AstType::None(); DCHECK(IsClass()); - return Type::Class(AsClass(), zone); + return AstType::Class(AsClass(), zone); } void FieldType::PrintTo(std::ostream& os) { |