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

Unified Diff: src/type-cache.h

Issue 2078423002: [turbofan] More efficient truncation analysis for add, sub. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Comment Created 4 years, 6 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/simplified-lowering.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 92d51f1e32266525cc30853772547389e77cebb0..9e23e45b0a75abd368f6b24ce914a6fc469212d4 100644
--- a/src/type-cache.h
+++ b/src/type-cache.h
@@ -65,6 +65,8 @@ class TypeCache final {
Type* const kUntaggedUndefined =
Type::Intersect(Type::Undefined(), Type::Untagged(), zone());
+ Type* const kSigned32OrMinusZero =
+ Type::Union(Type::Signed32(), Type::MinusZero(), zone());
// Asm.js related types.
Type* const kAsmSigned = kInt32;
« no previous file with comments | « src/compiler/simplified-lowering.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698