OLD | NEW |
1 // Copyright 2015 the V8 project authors. All rights reserved. | 1 // Copyright 2015 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/unittests/compiler/interpreter-assembler-unittest.h" | 5 #include "test/unittests/compiler/interpreter-assembler-unittest.h" |
6 | 6 |
7 #include "src/compiler/graph.h" | 7 #include "src/compiler/graph.h" |
8 #include "src/compiler/node.h" | 8 #include "src/compiler/node.h" |
9 #include "src/unique.h" | 9 #include "src/isolate.h" |
10 #include "test/unittests/compiler/compiler-test-utils.h" | 10 #include "test/unittests/compiler/compiler-test-utils.h" |
11 #include "test/unittests/compiler/node-test-utils.h" | 11 #include "test/unittests/compiler/node-test-utils.h" |
12 | 12 |
13 using ::testing::_; | 13 using ::testing::_; |
14 | 14 |
15 namespace v8 { | 15 namespace v8 { |
16 namespace internal { | 16 namespace internal { |
17 namespace compiler { | 17 namespace compiler { |
18 | 18 |
19 const interpreter::Bytecode kBytecodes[] = { | 19 const interpreter::Bytecode kBytecodes[] = { |
(...skipping 327 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
347 m.CallJSBuiltin(Context::SUB_BUILTIN_INDEX, receiver, arg1); | 347 m.CallJSBuiltin(Context::SUB_BUILTIN_INDEX, receiver, arg1); |
348 EXPECT_THAT(call_js_builtin_1, | 348 EXPECT_THAT(call_js_builtin_1, |
349 IsCall(_, function_matcher, receiver, arg1, context_matcher, | 349 IsCall(_, function_matcher, receiver, arg1, context_matcher, |
350 m.graph()->start(), m.graph()->start())); | 350 m.graph()->start(), m.graph()->start())); |
351 } | 351 } |
352 } | 352 } |
353 | 353 |
354 } // namespace compiler | 354 } // namespace compiler |
355 } // namespace internal | 355 } // namespace internal |
356 } // namespace v8 | 356 } // namespace v8 |
OLD | NEW |