| Index: test/unittests/compiler/graph-unittest.h
|
| diff --git a/test/unittests/compiler/graph-unittest.h b/test/unittests/compiler/graph-unittest.h
|
| index 979e26d916706c01fc1d20813f633a4c2c5dc2c1..e63d9485debac93d6b24ff2af2b525878458a252 100644
|
| --- a/test/unittests/compiler/graph-unittest.h
|
| +++ b/test/unittests/compiler/graph-unittest.h
|
| @@ -24,11 +24,6 @@ class Unique;
|
|
|
| namespace compiler {
|
|
|
| -// Forward declarations.
|
| -struct ElementAccess;
|
| -struct FieldAccess;
|
| -
|
| -
|
| using ::testing::Matcher;
|
|
|
|
|
| @@ -68,8 +63,7 @@ class GraphTest : public TestWithContext, public TestWithZone {
|
| class TypedGraphTest : public GraphTest {
|
| public:
|
| explicit TypedGraphTest(int parameters = 1)
|
| - : GraphTest(parameters),
|
| - typer_(graph(), MaybeHandle<Context>()) {}
|
| + : GraphTest(parameters), typer_(graph(), MaybeHandle<Context>()) {}
|
|
|
| protected:
|
| Typer* typer() { return &typer_; }
|
| @@ -78,118 +72,6 @@ class TypedGraphTest : public GraphTest {
|
| Typer typer_;
|
| };
|
|
|
| -
|
| -Matcher<Node*> IsBranch(const Matcher<Node*>& value_matcher,
|
| - const Matcher<Node*>& control_matcher);
|
| -Matcher<Node*> IsMerge(const Matcher<Node*>& control0_matcher,
|
| - const Matcher<Node*>& control1_matcher);
|
| -Matcher<Node*> IsIfTrue(const Matcher<Node*>& control_matcher);
|
| -Matcher<Node*> IsIfFalse(const Matcher<Node*>& control_matcher);
|
| -Matcher<Node*> IsValueEffect(const Matcher<Node*>& value_matcher);
|
| -Matcher<Node*> IsFinish(const Matcher<Node*>& value_matcher,
|
| - const Matcher<Node*>& effect_matcher);
|
| -Matcher<Node*> IsExternalConstant(
|
| - const Matcher<ExternalReference>& value_matcher);
|
| -Matcher<Node*> IsHeapConstant(
|
| - const Matcher<Unique<HeapObject> >& value_matcher);
|
| -Matcher<Node*> IsFloat32Constant(const Matcher<float>& value_matcher);
|
| -Matcher<Node*> IsFloat64Constant(const Matcher<double>& value_matcher);
|
| -Matcher<Node*> IsInt32Constant(const Matcher<int32_t>& value_matcher);
|
| -Matcher<Node*> IsInt64Constant(const Matcher<int64_t>& value_matcher);
|
| -Matcher<Node*> IsNumberConstant(const Matcher<double>& value_matcher);
|
| -Matcher<Node*> IsPhi(const Matcher<MachineType>& type_matcher,
|
| - const Matcher<Node*>& value0_matcher,
|
| - const Matcher<Node*>& value1_matcher,
|
| - const Matcher<Node*>& merge_matcher);
|
| -Matcher<Node*> IsProjection(const Matcher<size_t>& index_matcher,
|
| - const Matcher<Node*>& base_matcher);
|
| -Matcher<Node*> IsCall(const Matcher<CallDescriptor*>& descriptor_matcher,
|
| - const Matcher<Node*>& value0_matcher,
|
| - const Matcher<Node*>& value1_matcher,
|
| - const Matcher<Node*>& value2_matcher,
|
| - const Matcher<Node*>& value3_matcher,
|
| - const Matcher<Node*>& effect_matcher,
|
| - const Matcher<Node*>& control_matcher);
|
| -
|
| -Matcher<Node*> IsNumberLessThan(const Matcher<Node*>& lhs_matcher,
|
| - const Matcher<Node*>& rhs_matcher);
|
| -Matcher<Node*> IsNumberSubtract(const Matcher<Node*>& lhs_matcher,
|
| - const Matcher<Node*>& rhs_matcher);
|
| -Matcher<Node*> IsLoadField(const Matcher<FieldAccess>& access_matcher,
|
| - const Matcher<Node*>& base_matcher,
|
| - const Matcher<Node*>& effect_matcher);
|
| -Matcher<Node*> IsLoadElement(const Matcher<ElementAccess>& access_matcher,
|
| - const Matcher<Node*>& base_matcher,
|
| - const Matcher<Node*>& index_matcher,
|
| - const Matcher<Node*>& length_matcher,
|
| - const Matcher<Node*>& effect_matcher,
|
| - const Matcher<Node*>& control_matcher);
|
| -Matcher<Node*> IsStoreElement(const Matcher<ElementAccess>& access_matcher,
|
| - const Matcher<Node*>& base_matcher,
|
| - const Matcher<Node*>& index_matcher,
|
| - const Matcher<Node*>& length_matcher,
|
| - const Matcher<Node*>& value_matcher,
|
| - const Matcher<Node*>& effect_matcher,
|
| - const Matcher<Node*>& control_matcher);
|
| -
|
| -Matcher<Node*> IsLoad(const Matcher<LoadRepresentation>& rep_matcher,
|
| - const Matcher<Node*>& base_matcher,
|
| - const Matcher<Node*>& index_matcher,
|
| - const Matcher<Node*>& effect_matcher,
|
| - const Matcher<Node*>& control_matcher);
|
| -Matcher<Node*> IsStore(const Matcher<StoreRepresentation>& rep_matcher,
|
| - const Matcher<Node*>& base_matcher,
|
| - const Matcher<Node*>& index_matcher,
|
| - const Matcher<Node*>& value_matcher,
|
| - const Matcher<Node*>& effect_matcher,
|
| - const Matcher<Node*>& control_matcher);
|
| -Matcher<Node*> IsWord32And(const Matcher<Node*>& lhs_matcher,
|
| - const Matcher<Node*>& rhs_matcher);
|
| -Matcher<Node*> IsWord32Sar(const Matcher<Node*>& lhs_matcher,
|
| - const Matcher<Node*>& rhs_matcher);
|
| -Matcher<Node*> IsWord32Shl(const Matcher<Node*>& lhs_matcher,
|
| - const Matcher<Node*>& rhs_matcher);
|
| -Matcher<Node*> IsWord32Shr(const Matcher<Node*>& lhs_matcher,
|
| - const Matcher<Node*>& rhs_matcher);
|
| -Matcher<Node*> IsWord32Ror(const Matcher<Node*>& lhs_matcher,
|
| - const Matcher<Node*>& rhs_matcher);
|
| -Matcher<Node*> IsWord32Equal(const Matcher<Node*>& lhs_matcher,
|
| - const Matcher<Node*>& rhs_matcher);
|
| -Matcher<Node*> IsWord64And(const Matcher<Node*>& lhs_matcher,
|
| - const Matcher<Node*>& rhs_matcher);
|
| -Matcher<Node*> IsWord64Shl(const Matcher<Node*>& lhs_matcher,
|
| - const Matcher<Node*>& rhs_matcher);
|
| -Matcher<Node*> IsWord64Sar(const Matcher<Node*>& lhs_matcher,
|
| - const Matcher<Node*>& rhs_matcher);
|
| -Matcher<Node*> IsWord64Equal(const Matcher<Node*>& lhs_matcher,
|
| - const Matcher<Node*>& rhs_matcher);
|
| -Matcher<Node*> IsInt32AddWithOverflow(const Matcher<Node*>& lhs_matcher,
|
| - const Matcher<Node*>& rhs_matcher);
|
| -Matcher<Node*> IsInt32Add(const Matcher<Node*>& lhs_matcher,
|
| - const Matcher<Node*>& rhs_matcher);
|
| -Matcher<Node*> IsInt32Sub(const Matcher<Node*>& lhs_matcher,
|
| - const Matcher<Node*>& rhs_matcher);
|
| -Matcher<Node*> IsInt32Mul(const Matcher<Node*>& lhs_matcher,
|
| - const Matcher<Node*>& rhs_matcher);
|
| -Matcher<Node*> IsInt32MulHigh(const Matcher<Node*>& lhs_matcher,
|
| - const Matcher<Node*>& rhs_matcher);
|
| -Matcher<Node*> IsInt32LessThan(const Matcher<Node*>& lhs_matcher,
|
| - const Matcher<Node*>& rhs_matcher);
|
| -Matcher<Node*> IsUint32LessThan(const Matcher<Node*>& lhs_matcher,
|
| - const Matcher<Node*>& rhs_matcher);
|
| -Matcher<Node*> IsUint32LessThanOrEqual(const Matcher<Node*>& lhs_matcher,
|
| - const Matcher<Node*>& rhs_matcher);
|
| -Matcher<Node*> IsChangeFloat64ToInt32(const Matcher<Node*>& input_matcher);
|
| -Matcher<Node*> IsChangeFloat64ToUint32(const Matcher<Node*>& input_matcher);
|
| -Matcher<Node*> IsChangeInt32ToFloat64(const Matcher<Node*>& input_matcher);
|
| -Matcher<Node*> IsChangeInt32ToInt64(const Matcher<Node*>& input_matcher);
|
| -Matcher<Node*> IsChangeUint32ToFloat64(const Matcher<Node*>& input_matcher);
|
| -Matcher<Node*> IsChangeUint32ToUint64(const Matcher<Node*>& input_matcher);
|
| -Matcher<Node*> IsTruncateFloat64ToFloat32(const Matcher<Node*>& input_matcher);
|
| -Matcher<Node*> IsTruncateFloat64ToInt32(const Matcher<Node*>& input_matcher);
|
| -Matcher<Node*> IsTruncateInt64ToInt32(const Matcher<Node*>& input_matcher);
|
| -Matcher<Node*> IsFloat64Sqrt(const Matcher<Node*>& input_matcher);
|
| -
|
| } // namespace compiler
|
| } // namespace internal
|
| } // namespace v8
|
|
|