OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 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 #include "src/v8.h" | 5 #include "src/rewriter.h" |
6 | 6 |
7 #include "src/ast.h" | 7 #include "src/ast.h" |
8 #include "src/parser.h" | 8 #include "src/parser.h" |
9 #include "src/rewriter.h" | |
10 #include "src/scopes.h" | 9 #include "src/scopes.h" |
11 | 10 |
12 namespace v8 { | 11 namespace v8 { |
13 namespace internal { | 12 namespace internal { |
14 | 13 |
15 class Processor: public AstVisitor { | 14 class Processor: public AstVisitor { |
16 public: | 15 public: |
17 Processor(Isolate* isolate, Variable* result, | 16 Processor(Isolate* isolate, Variable* result, |
18 AstValueFactory* ast_value_factory) | 17 AstValueFactory* ast_value_factory) |
19 : result_(result), | 18 : result_(result), |
(...skipping 223 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
243 body->Add(result_statement, info->zone()); | 242 body->Add(result_statement, info->zone()); |
244 } | 243 } |
245 } | 244 } |
246 | 245 |
247 return true; | 246 return true; |
248 } | 247 } |
249 | 248 |
250 | 249 |
251 } // namespace internal | 250 } // namespace internal |
252 } // namespace v8 | 251 } // namespace v8 |
OLD | NEW |