OLD | NEW |
1 // Copyright 2014 the V8 project authors. All rights reserved. | 1 // Copyright 2014 the V8 project authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "test/compiler-unittests/instruction-selector-unittest.h" | 5 #include "src/compiler/instruction-selector-unittest.h" |
6 | 6 |
7 namespace v8 { | 7 namespace v8 { |
8 namespace internal { | 8 namespace internal { |
9 namespace compiler { | 9 namespace compiler { |
10 | 10 |
11 namespace { | 11 namespace { |
12 | 12 |
13 typedef RawMachineAssembler::Label MLabel; | 13 typedef RawMachineAssembler::Label MLabel; |
14 typedef Node* (RawMachineAssembler::*Constructor)(Node*, Node*); | 14 typedef Node* (RawMachineAssembler::*Constructor)(Node*, Node*); |
15 | 15 |
(...skipping 1875 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1891 EXPECT_EQ(kArmUbfx, s[0]->arch_opcode()); | 1891 EXPECT_EQ(kArmUbfx, s[0]->arch_opcode()); |
1892 ASSERT_EQ(3U, s[0]->InputCount()); | 1892 ASSERT_EQ(3U, s[0]->InputCount()); |
1893 EXPECT_EQ(lsb, s.ToInt32(s[0]->InputAt(1))); | 1893 EXPECT_EQ(lsb, s.ToInt32(s[0]->InputAt(1))); |
1894 EXPECT_EQ(width, s.ToInt32(s[0]->InputAt(2))); | 1894 EXPECT_EQ(width, s.ToInt32(s[0]->InputAt(2))); |
1895 } | 1895 } |
1896 } | 1896 } |
1897 } | 1897 } |
1898 } // namespace compiler | 1898 } // namespace compiler |
1899 } // namespace internal | 1899 } // namespace internal |
1900 } // namespace v8 | 1900 } // namespace v8 |
OLD | NEW |