Revision: 22715
Author:   [email protected]
Date:     Wed Jul 30 14:41:39 2014 UTC
Log:      Fix references to GenericNode::Type that should be templatized

[email protected], mstarzinger
BUG=

Review URL: https://codereview.chromium.org/428233003
http://code.google.com/p/v8/source/detail?r=22715

Modified:
 /branches/bleeding_edge/src/compiler/generic-node-inl.h

=======================================
--- /branches/bleeding_edge/src/compiler/generic-node-inl.h Wed Jul 30 13:54:45 2014 UTC +++ /branches/bleeding_edge/src/compiler/generic-node-inl.h Wed Jul 30 14:41:39 2014 UTC
@@ -34,25 +34,26 @@
 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>
@@ -106,7 +107,7 @@

   // Update inline inputs.
   for (int i = new_input_count; i < input_count_; i++) {
-    GenericNode<B, S>::Input* input = GetInputRecordPtr(i);
+    typename GenericNode<B, S>::Input* input = GetInputRecordPtr(i);
     input->Update(NULL);
   }
   input_count_ = new_input_count;

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