#include "src/compiler/node-properties.h"
#include "src/compiler/common-operator.h"
#include "test/unittests/test-utils.h"
#include "testing/gmock/include/gmock/gmock.h"
namespace v8 {
namespace internal {
namespace compiler {
namespace node_properties_unittest {
AnyOf;
ElementsAre;
IsNull;
class NodePropertiesTest : public TestWithZone { … };
namespace {
const Operator kMockOperator(IrOpcode::kDead, Operator::kNoProperties,
"MockOperator", 0, 0, 0, 1, 1, 2);
const Operator kMockCallOperator(IrOpcode::kCall, Operator::kNoProperties,
"MockCallOperator", 0, 0, 0, 0, 0, 2);
}
TEST_F(NodePropertiesTest, ReplaceUses) { … }
TEST_F(NodePropertiesTest, FindProjection) { … }
TEST_F(NodePropertiesTest, CollectControlProjections_Branch) { … }
TEST_F(NodePropertiesTest, CollectControlProjections_Call) { … }
TEST_F(NodePropertiesTest, CollectControlProjections_Switch) { … }
}
}
}
}