Chromium Code Reviews| Index: test/cctest/compiler/test-run-machops.cc |
| diff --git a/test/cctest/compiler/test-run-machops.cc b/test/cctest/compiler/test-run-machops.cc |
| index 9eb67537382a5f8fb3afa4a4a2c9379545ee8f32..fb2fabbbd59c9f08eac5c5f9cad515425d8b0d4f 100644 |
| --- a/test/cctest/compiler/test-run-machops.cc |
| +++ b/test/cctest/compiler/test-run-machops.cc |
| @@ -129,36 +129,6 @@ TEST(RunBranch) { |
| } |
| -TEST(RunRedundantBranch1) { |
|
Jarin
2014/11/12 08:13:35
Why did you remove the tests?
dcarney
2014/11/12 08:53:32
they are not in edge split form. the register all
|
| - RawMachineAssemblerTester<int32_t> m; |
| - int constant = 944777; |
| - |
| - MLabel blocka; |
| - m.Branch(m.Int32Constant(0), &blocka, &blocka); |
| - m.Bind(&blocka); |
| - m.Return(m.Int32Constant(constant)); |
| - |
| - CHECK_EQ(constant, m.Call()); |
| -} |
| - |
| - |
| -TEST(RunRedundantBranch2) { |
| - RawMachineAssemblerTester<int32_t> m; |
| - int constant = 966777; |
| - |
| - MLabel blocka, blockb, blockc; |
| - m.Branch(m.Int32Constant(0), &blocka, &blockc); |
| - m.Bind(&blocka); |
| - m.Branch(m.Int32Constant(0), &blockb, &blockb); |
| - m.Bind(&blockc); |
| - m.Goto(&blockb); |
| - m.Bind(&blockb); |
| - m.Return(m.Int32Constant(constant)); |
| - |
| - CHECK_EQ(constant, m.Call()); |
| -} |
| - |
| - |
| TEST(RunDiamond2) { |
| RawMachineAssemblerTester<int32_t> m; |