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 // TODO(jochen): Remove this after the setting is turned on globally. | |
6 #define V8_IMMINENT_DEPRECATION_WARNINGS | |
7 | |
8 #include "src/bootstrapper.h" | 5 #include "src/bootstrapper.h" |
9 #include "src/code-stubs.h" | 6 #include "src/code-stubs.h" |
10 #include "src/compiler/common-operator.h" | 7 #include "src/compiler/common-operator.h" |
11 #include "src/compiler/graph.h" | 8 #include "src/compiler/graph.h" |
12 #include "src/compiler/js-graph.h" | 9 #include "src/compiler/js-graph.h" |
13 #include "src/compiler/js-operator.h" | 10 #include "src/compiler/js-operator.h" |
14 #include "src/compiler/linkage.h" | 11 #include "src/compiler/linkage.h" |
15 #include "src/compiler/machine-operator.h" | 12 #include "src/compiler/machine-operator.h" |
16 #include "src/compiler/pipeline.h" | 13 #include "src/compiler/pipeline.h" |
17 #include "src/parsing/parser.h" | 14 #include "src/parsing/parser.h" |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
63 Handle<Object> vector = ft.Val(0.0); | 60 Handle<Object> vector = ft.Val(0.0); |
64 Handle<Object> result = | 61 Handle<Object> result = |
65 ft.Call(receiverArg, nameArg, slot, vector).ToHandleChecked(); | 62 ft.Call(receiverArg, nameArg, slot, vector).ToHandleChecked(); |
66 CHECK_EQ(static_cast<int>(strlen(testString)), Smi::cast(*result)->value()); | 63 CHECK_EQ(static_cast<int>(strlen(testString)), Smi::cast(*result)->value()); |
67 } | 64 } |
68 | 65 |
69 | 66 |
70 } // namespace compiler | 67 } // namespace compiler |
71 } // namespace internal | 68 } // namespace internal |
72 } // namespace v8 | 69 } // namespace v8 |
OLD | NEW |