| Index: src/field-type.cc
|
| diff --git a/src/field-type.cc b/src/field-type.cc
|
| index 2e4cbfbedde2935d245bd7c47d3e0305211d9eda..b3b24e2c14cd11569650360c49d246aeca828383 100644
|
| --- a/src/field-type.cc
|
| +++ b/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) {
|
|
|