Index: src/compiler/js-graph.cc |
diff --git a/src/compiler/js-graph.cc b/src/compiler/js-graph.cc |
index da6d66df627691c9c22d2f8a85b679a06266f6d7..75c3113a1aa19cd12ed190aac0ebaf244b027a47 100644 |
--- a/src/compiler/js-graph.cc |
+++ b/src/compiler/js-graph.cc |
@@ -17,15 +17,6 @@ Node* JSGraph::ImmovableHeapConstant(Handle<HeapObject> object) { |
} |
-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( |
@@ -195,10 +186,10 @@ Node* JSGraph::ExternalConstant(ExternalReference reference) { |
void JSGraph::GetCachedNodes(NodeVector* nodes) { |
cache_.GetCachedNodes(nodes); |
- SetOncePointer<Node>* ptrs[] = { |
- &c_entry_stub_constant_, &undefined_constant_, &the_hole_constant_, |
- &true_constant_, &false_constant_, &null_constant_, |
- &zero_constant_, &one_constant_, &nan_constant_}; |
+ SetOncePointer<Node>* ptrs[] = {&undefined_constant_, &the_hole_constant_, |
+ &true_constant_, &false_constant_, |
+ &null_constant_, &zero_constant_, |
+ &one_constant_, &nan_constant_}; |
for (size_t i = 0; i < arraysize(ptrs); i++) { |
if (ptrs[i]->is_set()) nodes->push_back(ptrs[i]->get()); |
} |