Index: src/compiler/js-graph.h |
diff --git a/src/compiler/js-graph.h b/src/compiler/js-graph.h |
index 040a745e3cfd553a7796f36846197084c46db7f2..2f5ebd9ce9cd66ee6569d6a2ca3e45cb76ba514f 100644 |
--- a/src/compiler/js-graph.h |
+++ b/src/compiler/js-graph.h |
@@ -109,6 +109,10 @@ class JSGraph : public ZoneObject { |
// stubs and runtime functions that do not require a context. |
Node* NoContextConstant() { return ZeroConstant(); } |
+ // Creates an empty frame states for cases where we know that a function |
+ // cannot deopt. |
+ Node* EmptyFrameState(); |
+ |
JSOperatorBuilder* javascript() { return javascript_; } |
CommonOperatorBuilder* common() { return common_; } |
MachineOperatorBuilder* machine() { return machine_; } |
@@ -135,6 +139,7 @@ class JSGraph : public ZoneObject { |
SetOncePointer<Node> zero_constant_; |
SetOncePointer<Node> one_constant_; |
SetOncePointer<Node> nan_constant_; |
+ SetOncePointer<Node> empty_frame_state_; |
CommonNodeCache cache_; |