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/v8.h" | 5 #include "src/v8.h" |
9 | 6 |
10 #include "test/cctest/expression-type-collector.h" | 7 #include "test/cctest/expression-type-collector.h" |
11 | 8 |
12 #include "src/ast/ast.h" | 9 #include "src/ast/ast.h" |
13 #include "src/ast/scopes.h" | 10 #include "src/ast/scopes.h" |
14 #include "src/codegen.h" | 11 #include "src/codegen.h" |
15 | 12 |
16 namespace v8 { | 13 namespace v8 { |
17 namespace internal { | 14 namespace internal { |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
57 if (NodeTypeNameList[i].type == type) { | 54 if (NodeTypeNameList[i].type == type) { |
58 e.kind = NodeTypeNameList[i].name; | 55 e.kind = NodeTypeNameList[i].name; |
59 break; | 56 break; |
60 } | 57 } |
61 } | 58 } |
62 result_->push_back(e); | 59 result_->push_back(e); |
63 } | 60 } |
64 | 61 |
65 } // namespace internal | 62 } // namespace internal |
66 } // namespace v8 | 63 } // namespace v8 |
OLD | NEW |