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 "src/bootstrapper.h" | 5 #include "src/bootstrapper.h" |
6 #include "src/code-stubs.h" | 6 #include "src/code-stubs.h" |
| 7 #include "src/compiler.h" |
7 #include "src/compiler/common-operator.h" | 8 #include "src/compiler/common-operator.h" |
8 #include "src/compiler/graph.h" | 9 #include "src/compiler/graph.h" |
9 #include "src/compiler/js-graph.h" | 10 #include "src/compiler/js-graph.h" |
10 #include "src/compiler/js-operator.h" | 11 #include "src/compiler/js-operator.h" |
11 #include "src/compiler/linkage.h" | 12 #include "src/compiler/linkage.h" |
12 #include "src/compiler/machine-operator.h" | 13 #include "src/compiler/machine-operator.h" |
13 #include "src/compiler/pipeline.h" | 14 #include "src/compiler/pipeline.h" |
14 #include "src/parsing/parser.h" | 15 #include "src/parsing/parser.h" |
15 #include "test/cctest/compiler/function-tester.h" | 16 #include "test/cctest/compiler/function-tester.h" |
16 | 17 |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
65 Handle<Object> vector = ft.Val(0.0); | 66 Handle<Object> vector = ft.Val(0.0); |
66 Handle<Object> result = | 67 Handle<Object> result = |
67 ft.Call(receiverArg, nameArg, slot, vector).ToHandleChecked(); | 68 ft.Call(receiverArg, nameArg, slot, vector).ToHandleChecked(); |
68 CHECK_EQ(static_cast<int>(strlen(testString)), Smi::cast(*result)->value()); | 69 CHECK_EQ(static_cast<int>(strlen(testString)), Smi::cast(*result)->value()); |
69 } | 70 } |
70 | 71 |
71 | 72 |
72 } // namespace compiler | 73 } // namespace compiler |
73 } // namespace internal | 74 } // namespace internal |
74 } // namespace v8 | 75 } // namespace v8 |
OLD | NEW |