Revision: 22965
Author: [email protected]
Date: Thu Aug 7 09:11:42 2014 UTC
Log: NodeAuxData needs a Zone, not a Graph.
BUG=
[email protected]
Review URL: https://codereview.chromium.org/446963002
http://code.google.com/p/v8/source/detail?r=22965
Modified:
/branches/bleeding_edge/src/compiler/node-aux-data-inl.h
/branches/bleeding_edge/src/compiler/node-aux-data.h
/branches/bleeding_edge/src/compiler/source-position.cc
=======================================
--- /branches/bleeding_edge/src/compiler/node-aux-data-inl.h Wed Jul 30
13:54:45 2014 UTC
+++ /branches/bleeding_edge/src/compiler/node-aux-data-inl.h Thu Aug 7
09:11:42 2014 UTC
@@ -14,8 +14,8 @@
namespace compiler {
template <class T>
-NodeAuxData<T>::NodeAuxData(Graph* graph)
- : aux_data_(ZoneAllocator(graph->zone())) {}
+NodeAuxData<T>::NodeAuxData(Zone* zone)
+ : aux_data_(ZoneAllocator(zone)) {}
template <class T>
=======================================
--- /branches/bleeding_edge/src/compiler/node-aux-data.h Wed Jul 30
13:54:45 2014 UTC
+++ /branches/bleeding_edge/src/compiler/node-aux-data.h Thu Aug 7
09:11:42 2014 UTC
@@ -20,7 +20,7 @@
template <class T>
class NodeAuxData {
public:
- inline explicit NodeAuxData(Graph* graph);
+ inline explicit NodeAuxData(Zone* zone);
inline void Set(Node* node, const T& data);
inline T Get(Node* node);
=======================================
--- /branches/bleeding_edge/src/compiler/source-position.cc Mon Aug 4
11:34:54 2014 UTC
+++ /branches/bleeding_edge/src/compiler/source-position.cc Thu Aug 7
09:11:42 2014 UTC
@@ -29,7 +29,7 @@
: graph_(graph),
decorator_(NULL),
current_position_(SourcePosition::Invalid()),
- table_(graph) {}
+ table_(graph->zone()) {}
void SourcePositionTable::AddDecorator() {
--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.