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

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

Issue 656103002: Add JSGraph::GetCachedNodes and NodeCache::GetCachedNodes. These routines are necessary in the dead… (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 2 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
Index: src/compiler/js-graph.h
diff --git a/src/compiler/js-graph.h b/src/compiler/js-graph.h
index f2f7d4e35ad33cd03822d33a75c4cc312b49dd82..ab8b65060fe28b5f549076459dccfa5ee56b013a 100644
--- a/src/compiler/js-graph.h
+++ b/src/compiler/js-graph.h
@@ -105,6 +105,8 @@ class JSGraph : public ZoneObject {
Zone* zone() { return graph()->zone(); }
Isolate* isolate() { return zone()->isolate(); }
+ void GetCachedNodes(NodeVector* nodes);
+
private:
Graph* graph_;
CommonOperatorBuilder* common_;
@@ -112,6 +114,7 @@ class JSGraph : public ZoneObject {
Typer* typer_;
MachineOperatorBuilder* machine_;
+ // TODO(titzer): make this into a simple array.
SetOncePointer<Node> c_entry_stub_constant_;
SetOncePointer<Node> undefined_constant_;
SetOncePointer<Node> the_hole_constant_;

Powered by Google App Engine
This is Rietveld 408576698