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

Unified Diff: src/type-cache.h

Issue 1416953006: [types] Use unified integral representation bits. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 1 month 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/interface-descriptors.cc ('k') | src/types.h » ('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 497ff619a4acedd577e763a90084005db326807b..2b04c247cb8864a5a9ee777dc4a48ef70e6a813c 100644
--- a/src/type-cache.h
+++ b/src/type-cache.h
@@ -21,17 +21,18 @@ class TypeCache final {
TypeCache() = default;
Type* const kInt8 =
- CreateNative(CreateRange<int8_t>(), Type::UntaggedSigned8());
+ CreateNative(CreateRange<int8_t>(), Type::UntaggedIntegral8());
Type* const kUint8 =
- CreateNative(CreateRange<uint8_t>(), Type::UntaggedUnsigned8());
+ CreateNative(CreateRange<uint8_t>(), Type::UntaggedIntegral8());
Type* const kUint8Clamped = kUint8;
Type* const kInt16 =
- CreateNative(CreateRange<int16_t>(), Type::UntaggedSigned16());
+ CreateNative(CreateRange<int16_t>(), Type::UntaggedIntegral16());
Type* const kUint16 =
- CreateNative(CreateRange<uint16_t>(), Type::UntaggedUnsigned16());
- Type* const kInt32 = CreateNative(Type::Signed32(), Type::UntaggedSigned32());
+ CreateNative(CreateRange<uint16_t>(), Type::UntaggedIntegral16());
+ Type* const kInt32 =
+ CreateNative(Type::Signed32(), Type::UntaggedIntegral32());
Type* const kUint32 =
- CreateNative(Type::Unsigned32(), Type::UntaggedUnsigned32());
+ CreateNative(Type::Unsigned32(), Type::UntaggedIntegral32());
Type* const kFloat32 = CreateNative(Type::Number(), Type::UntaggedFloat32());
Type* const kFloat64 = CreateNative(Type::Number(), Type::UntaggedFloat64());
« no previous file with comments | « src/interface-descriptors.cc ('k') | src/types.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698