Correctly forward-declare inline function headers in generic-node.h

R=bmeurer@chromium.org, jarin@chromium.org

Review URL: https://codereview.chromium.org/488363003

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23331 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
yangguo@chromium.org 2014-08-25 06:57:13 +00:00
parent e9ac0fe7c8
commit 3a1c55590f
4 changed files with 9 additions and 6 deletions

View File

@ -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; }

View File

@ -8,6 +8,7 @@
#include "src/v8.h"
#include "src/compiler/common-operator.h"
#include "src/compiler/generic-node-inl.h"
#include "src/compiler/node-properties.h"
#include "src/compiler/opcodes.h"
#include "src/compiler/operator.h"

View File

@ -2,6 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "src/compiler/generic-node-inl.h"
#include "src/compiler/js-graph.h"
#include "src/compiler/node-matchers.h"
#include "src/compiler/simplified-operator-reducer.h"

View File

@ -6,6 +6,7 @@
#include <limits>
#include "src/base/bits.h"
#include "src/compiler/generic-node-inl.h"
#include "test/cctest/cctest.h"
#include "test/cctest/compiler/codegen-tester.h"
#include "test/cctest/compiler/value-helper.h"