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

Unified Diff: src/compiler/typer.h

Issue 986073003: [TurboFan] Calculate precise ranges for bitwise-or with positive input ranges. Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Split the bitwise-or type derivation into a separate function. Created 5 years, 7 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 | « no previous file | src/compiler/typer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/compiler/typer.h
diff --git a/src/compiler/typer.h b/src/compiler/typer.h
index 4c04ddb973b3404b85a2522fc9c75003041d0b10..f460a5e2367e45c7c6c12f1ba7f7af40624545c6 100644
--- a/src/compiler/typer.h
+++ b/src/compiler/typer.h
@@ -16,6 +16,15 @@ namespace compiler {
class LazyTypeCache;
+struct IntType {
+ int32_t min;
+ int32_t max;
+ IntType(int32_t min, int32_t max) : min(min), max(max) {}
+};
+
+IntType JSBitwiseOrIntType(IntType lhs, IntType rhs);
+
+
class Typer {
public:
Typer(Isolate* isolate, Graph* graph, MaybeHandle<Context> context);
« no previous file with comments | « no previous file | src/compiler/typer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698