| Index: src/type-cache.h
|
| diff --git a/src/type-cache.h b/src/type-cache.h
|
| index 5eed557f7dff59782815e9458c285fd3dcab8b20..4c351513ca81d7fe45f680b3984b72a12f1348d9 100644
|
| --- a/src/type-cache.h
|
| +++ b/src/type-cache.h
|
| @@ -54,7 +54,13 @@ class TypeCache final {
|
|
|
| Type* const kPositiveSafeInteger = CreateRange(0.0, kMaxSafeInteger);
|
|
|
| - Type* const kIntegral32 = Type::Union(kInt32, kUint32, zone());
|
| + // Asm.js related types.
|
| + Type* const kAsmSigned = kInt32;
|
| + Type* const kAsmUnsigned = kUint32;
|
| + Type* const kAsmInt = Type::Union(kAsmSigned, kAsmUnsigned, zone());
|
| + Type* const kAsmFixnum = Type::Intersect(kAsmSigned, kAsmUnsigned, zone());
|
| + Type* const kAsmFloat = kFloat32;
|
| + Type* const kAsmDouble = kFloat64;
|
|
|
| // The FixedArray::length property always containts a smi in the range
|
| // [0, FixedArray::kMaxLength].
|
|
|