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 <utility> | 5 #include <utility> |
9 | 6 |
10 #include "src/compiler/pipeline.h" | 7 #include "src/compiler/pipeline.h" |
11 #include "src/execution.h" | 8 #include "src/execution.h" |
12 #include "src/handles.h" | 9 #include "src/handles.h" |
13 #include "src/interpreter/bytecode-array-builder.h" | 10 #include "src/interpreter/bytecode-array-builder.h" |
14 #include "src/interpreter/interpreter.h" | 11 #include "src/interpreter/interpreter.h" |
15 #include "src/parsing/parser.h" | 12 #include "src/parsing/parser.h" |
16 #include "test/cctest/cctest.h" | 13 #include "test/cctest/cctest.h" |
17 | 14 |
(...skipping 1164 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1182 auto callable = tester.GetCallable<Handle<Object>>("f"); | 1179 auto callable = tester.GetCallable<Handle<Object>>("f"); |
1183 Handle<Object> return_value = | 1180 Handle<Object> return_value = |
1184 callable(snippets[i].parameter(0)).ToHandleChecked(); | 1181 callable(snippets[i].parameter(0)).ToHandleChecked(); |
1185 CHECK(return_value->SameValue(*snippets[i].return_value())); | 1182 CHECK(return_value->SameValue(*snippets[i].return_value())); |
1186 } | 1183 } |
1187 } | 1184 } |
1188 | 1185 |
1189 } // namespace compiler | 1186 } // namespace compiler |
1190 } // namespace internal | 1187 } // namespace internal |
1191 } // namespace v8 | 1188 } // namespace v8 |
OLD | NEW |