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

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

Issue 488363003: Correctly forward-declare inline function headers in generic-node.h (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 4 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 | src/compiler/node-properties-inl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/compiler/generic-node.h
diff --git a/src/compiler/generic-node.h b/src/compiler/generic-node.h
index aadee7611a7e0a3cd8192c2aff3a5aa6a29a1f12..0cfba72bc967253952fb5a355352e8afcf956a89 100644
--- a/src/compiler/generic-node.h
+++ b/src/compiler/generic-node.h
@@ -43,9 +43,9 @@ class GenericNode : public B {
S* InputAt(int index) const {
return static_cast<S*>(GetInputRecordPtr(index)->to);
}
- void ReplaceInput(int index, GenericNode* new_input);
- void AppendInput(Zone* zone, GenericNode* new_input);
- void InsertInput(Zone* zone, int index, GenericNode* new_input);
+ inline void ReplaceInput(int index, GenericNode* new_input);
+ inline void AppendInput(Zone* zone, GenericNode* new_input);
+ inline void InsertInput(Zone* zone, int index, GenericNode* new_input);
int UseCount() { return use_count_; }
S* UseAt(int index) {
@@ -59,7 +59,7 @@ class GenericNode : public B {
inline void ReplaceUses(GenericNode* replace_to);
template <class UnaryPredicate>
inline void ReplaceUsesIf(UnaryPredicate pred, GenericNode* replace_to);
- void RemoveAllInputs();
+ inline void RemoveAllInputs();
void TrimInputCount(int input_count);
@@ -127,8 +127,8 @@ class GenericNode : public B {
}
}
- void AppendUse(Use* use);
- void RemoveUse(Use* use);
+ inline void AppendUse(Use* use);
+ inline void RemoveUse(Use* use);
void* operator new(size_t, void* location) { return location; }
« no previous file with comments | « no previous file | src/compiler/node-properties-inl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698