Index: src/compiler/js-graph.cc |
diff --git a/src/compiler/js-graph.cc b/src/compiler/js-graph.cc |
index 2cebbc784ee1a71cfc849cd260955b496bf5c7dd..b229306d2b99333f38bd8597cbd8ef020cf1ac25 100644 |
--- a/src/compiler/js-graph.cc |
+++ b/src/compiler/js-graph.cc |
@@ -24,6 +24,15 @@ Node* JSGraph::NewNode(Operator* op) { |
} |
+Node* JSGraph::CEntryStubConstant() { |
+ if (!c_entry_stub_constant_.is_set()) { |
+ c_entry_stub_constant_.set( |
+ ImmovableHeapConstant(CEntryStub(isolate(), 1).GetCode())); |
+ } |
+ return c_entry_stub_constant_.get(); |
+} |
+ |
+ |
Node* JSGraph::UndefinedConstant() { |
if (!undefined_constant_.is_set()) { |
undefined_constant_.set( |