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

Unified Diff: src/compiler/js-graph.h

Issue 840953003: [turbofan] Correctify representation changes to bit. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: std::isnan Created 5 years, 11 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/change-lowering.cc ('k') | src/compiler/js-graph.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/compiler/js-graph.h
diff --git a/src/compiler/js-graph.h b/src/compiler/js-graph.h
index 040a745e3cfd553a7796f36846197084c46db7f2..2d8d035504efbbbc2687ecbe06cc142d4bd9a5e8 100644
--- a/src/compiler/js-graph.h
+++ b/src/compiler/js-graph.h
@@ -16,6 +16,7 @@ namespace v8 {
namespace internal {
namespace compiler {
+// Forward declarations.
class Typer;
// Implements a facade on a Graph, enhancing the graph with JS-specific
@@ -109,6 +110,9 @@ class JSGraph : public ZoneObject {
// stubs and runtime functions that do not require a context.
Node* NoContextConstant() { return ZeroConstant(); }
+ // Cached common types.
+ Type* ZeroOneRangeType();
+
JSOperatorBuilder* javascript() { return javascript_; }
CommonOperatorBuilder* common() { return common_; }
MachineOperatorBuilder* machine() { return machine_; }
@@ -136,6 +140,8 @@ class JSGraph : public ZoneObject {
SetOncePointer<Node> one_constant_;
SetOncePointer<Node> nan_constant_;
+ SetOncePointer<Type> zero_one_range_type_;
+
CommonNodeCache cache_;
Node* ImmovableHeapConstant(Handle<HeapObject> value);
« no previous file with comments | « src/compiler/change-lowering.cc ('k') | src/compiler/js-graph.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698