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:
parent
e9ac0fe7c8
commit
3a1c55590f
@ -43,9 +43,9 @@ class GenericNode : public B {
|
|||||||
S* InputAt(int index) const {
|
S* InputAt(int index) const {
|
||||||
return static_cast<S*>(GetInputRecordPtr(index)->to);
|
return static_cast<S*>(GetInputRecordPtr(index)->to);
|
||||||
}
|
}
|
||||||
void ReplaceInput(int index, GenericNode* new_input);
|
inline void ReplaceInput(int index, GenericNode* new_input);
|
||||||
void AppendInput(Zone* zone, GenericNode* new_input);
|
inline void AppendInput(Zone* zone, GenericNode* new_input);
|
||||||
void InsertInput(Zone* zone, int index, GenericNode* new_input);
|
inline void InsertInput(Zone* zone, int index, GenericNode* new_input);
|
||||||
|
|
||||||
int UseCount() { return use_count_; }
|
int UseCount() { return use_count_; }
|
||||||
S* UseAt(int index) {
|
S* UseAt(int index) {
|
||||||
@ -59,7 +59,7 @@ class GenericNode : public B {
|
|||||||
inline void ReplaceUses(GenericNode* replace_to);
|
inline void ReplaceUses(GenericNode* replace_to);
|
||||||
template <class UnaryPredicate>
|
template <class UnaryPredicate>
|
||||||
inline void ReplaceUsesIf(UnaryPredicate pred, GenericNode* replace_to);
|
inline void ReplaceUsesIf(UnaryPredicate pred, GenericNode* replace_to);
|
||||||
void RemoveAllInputs();
|
inline void RemoveAllInputs();
|
||||||
|
|
||||||
void TrimInputCount(int input_count);
|
void TrimInputCount(int input_count);
|
||||||
|
|
||||||
@ -127,8 +127,8 @@ class GenericNode : public B {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void AppendUse(Use* use);
|
inline void AppendUse(Use* use);
|
||||||
void RemoveUse(Use* use);
|
inline void RemoveUse(Use* use);
|
||||||
|
|
||||||
void* operator new(size_t, void* location) { return location; }
|
void* operator new(size_t, void* location) { return location; }
|
||||||
|
|
||||||
|
@ -8,6 +8,7 @@
|
|||||||
#include "src/v8.h"
|
#include "src/v8.h"
|
||||||
|
|
||||||
#include "src/compiler/common-operator.h"
|
#include "src/compiler/common-operator.h"
|
||||||
|
#include "src/compiler/generic-node-inl.h"
|
||||||
#include "src/compiler/node-properties.h"
|
#include "src/compiler/node-properties.h"
|
||||||
#include "src/compiler/opcodes.h"
|
#include "src/compiler/opcodes.h"
|
||||||
#include "src/compiler/operator.h"
|
#include "src/compiler/operator.h"
|
||||||
|
@ -2,6 +2,7 @@
|
|||||||
// Use of this source code is governed by a BSD-style license that can be
|
// Use of this source code is governed by a BSD-style license that can be
|
||||||
// found in the LICENSE file.
|
// found in the LICENSE file.
|
||||||
|
|
||||||
|
#include "src/compiler/generic-node-inl.h"
|
||||||
#include "src/compiler/js-graph.h"
|
#include "src/compiler/js-graph.h"
|
||||||
#include "src/compiler/node-matchers.h"
|
#include "src/compiler/node-matchers.h"
|
||||||
#include "src/compiler/simplified-operator-reducer.h"
|
#include "src/compiler/simplified-operator-reducer.h"
|
||||||
|
@ -6,6 +6,7 @@
|
|||||||
#include <limits>
|
#include <limits>
|
||||||
|
|
||||||
#include "src/base/bits.h"
|
#include "src/base/bits.h"
|
||||||
|
#include "src/compiler/generic-node-inl.h"
|
||||||
#include "test/cctest/cctest.h"
|
#include "test/cctest/cctest.h"
|
||||||
#include "test/cctest/compiler/codegen-tester.h"
|
#include "test/cctest/compiler/codegen-tester.h"
|
||||||
#include "test/cctest/compiler/value-helper.h"
|
#include "test/cctest/compiler/value-helper.h"
|
||||||
|
Loading…
Reference in New Issue
Block a user