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

Unified Diff: src/type-cache.h

Issue 2239703002: [turbofan] Add inlined Array.prototype.pop support. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Only convert hole to undefined for holey elements Created 4 years, 4 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/compiler/pipeline.cc ('k') | test/mjsunit/compiler/inlined-array-pop-getter1.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/type-cache.h
diff --git a/src/type-cache.h b/src/type-cache.h
index 609d57d8d9c57f8a01af43ec0ee3de11fc81d540..f83f3bdb7146b55ca721bac34268936de6b1ed2f 100644
--- a/src/type-cache.h
+++ b/src/type-cache.h
@@ -38,6 +38,7 @@ class TypeCache final {
Type* const kFloat64 = CreateNative(Type::Number(), Type::UntaggedFloat64());
Type* const kSmi = CreateNative(Type::SignedSmall(), Type::TaggedSigned());
+ Type* const kHoleySmi = Type::Union(kSmi, Type::Hole(), zone());
Type* const kHeapNumber = CreateNative(Type::Number(), Type::TaggedPointer());
Type* const kSingletonZero = CreateRange(0.0, 0.0);
« no previous file with comments | « src/compiler/pipeline.cc ('k') | test/mjsunit/compiler/inlined-array-pop-getter1.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698