#include "src/compiler/branch-elimination.h"
#include "src/codegen/tick-counter.h"
#include "src/compiler/js-graph.h"
#include "src/compiler/node-properties.h"
#include "test/unittests/compiler/graph-unittest.h"
#include "test/unittests/compiler/node-test-utils.h"
namespace v8 {
namespace internal {
namespace compiler {
class BranchEliminationTest : public GraphTest { … };
TEST_F(BranchEliminationTest, NestedBranchSameTrue) { … }
TEST_F(BranchEliminationTest, NestedBranchSameFalse) { … }
TEST_F(BranchEliminationTest, BranchAfterDiamond) { … }
TEST_F(BranchEliminationTest, BranchInsideLoopSame) { … }
}
}
}