Reviewers: mstarzinger,

Description:
Fix references to GenericNode::Type that should be templatized

R=mstarzinger
BUG=

Please review this at https://codereview.chromium.org/428233003/

SVN Base: https://v8.googlecode.com/svn/branches/bleeding_edge

Affected files (+5, -4 lines):
  M src/compiler/generic-node-inl.h


Index: src/compiler/generic-node-inl.h
diff --git a/src/compiler/generic-node-inl.h b/src/compiler/generic-node-inl.h index 023fa0213d9b7cf79ef8a3858a62c771bf3d086f..92e09da74dad12c199f568e005b538767a3b14a5 100644
--- a/src/compiler/generic-node-inl.h
+++ b/src/compiler/generic-node-inl.h
@@ -34,25 +34,26 @@ inline void GenericNode<B, S>::AssignUniqueID(GenericGraphBase* graph) {
 template <class B, class S>
 inline typename GenericNode<B, S>::Inputs::iterator
 GenericNode<B, S>::Inputs::begin() {
-  return GenericNode::Inputs::iterator(this->node_, 0);
+  return GenericNode<B, S>::Inputs::iterator(this->node_, 0);
 }

 template <class B, class S>
 inline typename GenericNode<B, S>::Inputs::iterator
 GenericNode<B, S>::Inputs::end() {
- return GenericNode::Inputs::iterator(this->node_, this->node_->InputCount());
+  return GenericNode<B, S>::Inputs::iterator(this->node_,
+                                             this->node_->InputCount());
 }

 template <class B, class S>
 inline typename GenericNode<B, S>::Uses::iterator
 GenericNode<B, S>::Uses::begin() {
-  return GenericNode::Uses::iterator(this->node_);
+  return GenericNode<B, S>::Uses::iterator(this->node_);
 }

 template <class B, class S>
 inline typename GenericNode<B, S>::Uses::iterator
 GenericNode<B, S>::Uses::end() {
-  return GenericNode::Uses::iterator();
+  return GenericNode<B, S>::Uses::iterator();
 }

 template <class B, class S>


--
--
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.

Reply via email to