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

Unified Diff: src/compiler/generic-node-inl.h

Issue 428233003: Fix references to GenericNode::Type that should be templatized (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: More fix Created 6 years, 5 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..0f2c22deea2e62850ab6d91fed9f6d722dffbc72 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>
@@ -106,7 +107,7 @@ void GenericNode<B, S>::TrimInputCount(int new_input_count) {
// 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;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698