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