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

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

Issue 709033002: Teach TurboFan to call C functions with result_size > 1. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 1 month 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
« src/compiler/js-generic-lowering.cc ('K') | « src/compiler/js-graph.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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());
}
« src/compiler/js-generic-lowering.cc ('K') | « src/compiler/js-graph.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698