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

Unified Diff: src/type-cache.h

Issue 2199753002: [turbofan] Inline bunch of ArrayBuffer view accessors. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Address comment. Created 4 years, 5 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/js-graph.cc ('k') | no next file » | 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 25acd647138d98d3a07e00aa3b087bbaf9773467..3ebf91e66b8b6c1a91b32d3934120b7120621340 100644
--- a/src/type-cache.h
+++ b/src/type-cache.h
@@ -125,6 +125,11 @@ class TypeCache final {
Type* const kJSArrayLengthType =
CreateNative(Type::Unsigned32(), Type::Tagged());
+ // The JSTyped::length property always contains a tagged number in the range
+ // [0, kMaxSmiValue].
+ Type* const kJSTypedArrayLengthType =
+ CreateNative(Type::UnsignedSmall(), Type::TaggedSigned());
+
// The String::length property always contains a smi in the range
// [0, String::kMaxLength].
Type* const kStringLengthType =
« no previous file with comments | « src/compiler/js-graph.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698