Index: src/code-stubs.cc |
diff --git a/src/code-stubs.cc b/src/code-stubs.cc |
index f681c92401d9ac4cd62132760090dda0a9c07ef0..f6236325211662fc1862d13c425da99cda7e7d90 100644 |
--- a/src/code-stubs.cc |
+++ b/src/code-stubs.cc |
@@ -5837,20 +5837,20 @@ ArrayConstructorStub::ArrayConstructorStub(Isolate* isolate, |
InternalArrayConstructorStub::InternalArrayConstructorStub(Isolate* isolate) |
: PlatformCodeStub(isolate) {} |
-Representation RepresentationFromType(Type* type) { |
- if (type->Is(Type::UntaggedIntegral())) { |
+Representation RepresentationFromType(AstType* type) { |
+ if (type->Is(AstType::UntaggedIntegral())) { |
return Representation::Integer32(); |
} |
- if (type->Is(Type::TaggedSigned())) { |
+ if (type->Is(AstType::TaggedSigned())) { |
return Representation::Smi(); |
} |
- if (type->Is(Type::UntaggedPointer())) { |
+ if (type->Is(AstType::UntaggedPointer())) { |
return Representation::External(); |
} |
- DCHECK(!type->Is(Type::Untagged())); |
+ DCHECK(!type->Is(AstType::Untagged())); |
return Representation::Tagged(); |
} |