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

Unified Diff: src/code-stubs.cc

Issue 2302283002: Forking the type system between Crankshaft & Turbofan. (Closed)
Patch Set: Nits. Created 4 years, 3 months 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/ast/ast-types.cc ('k') | src/code-stubs-hydrogen.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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();
}
« no previous file with comments | « src/ast/ast-types.cc ('k') | src/code-stubs-hydrogen.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698