OLD | NEW |
1 // Copyright 2013 the V8 project authors. All rights reserved. | 1 // Copyright 2013 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/compiler.h" | 5 #include "src/compiler.h" |
9 #include "src/compiler/pipeline.h" | 6 #include "src/compiler/pipeline.h" |
10 #include "src/handles.h" | 7 #include "src/handles.h" |
11 #include "src/parsing/parser.h" | 8 #include "src/parsing/parser.h" |
12 #include "test/cctest/cctest.h" | 9 #include "test/cctest/cctest.h" |
13 | 10 |
14 namespace v8 { | 11 namespace v8 { |
15 namespace internal { | 12 namespace internal { |
16 namespace compiler { | 13 namespace compiler { |
17 | 14 |
(...skipping 20 matching lines...) Expand all Loading... |
38 | 35 |
39 TEST(PipelineGeneric) { | 36 TEST(PipelineGeneric) { |
40 HandleAndZoneScope handles; | 37 HandleAndZoneScope handles; |
41 FLAG_turbo_types = false; | 38 FLAG_turbo_types = false; |
42 RunPipeline(handles.main_zone(), "(function(a,b) { return a + b; })"); | 39 RunPipeline(handles.main_zone(), "(function(a,b) { return a + b; })"); |
43 } | 40 } |
44 | 41 |
45 } // namespace compiler | 42 } // namespace compiler |
46 } // namespace internal | 43 } // namespace internal |
47 } // namespace v8 | 44 } // namespace v8 |
OLD | NEW |