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/ast/prettyprinter.h" | 5 #include "src/ast/prettyprinter.h" |
6 | 6 |
7 #include <stdarg.h> | 7 #include <stdarg.h> |
8 | 8 |
9 #include "src/ast/ast-value-factory.h" | 9 #include "src/ast/ast-value-factory.h" |
10 #include "src/ast/scopes.h" | 10 #include "src/ast/scopes.h" |
11 #include "src/base/platform/platform.h" | 11 #include "src/base/platform/platform.h" |
12 #include "src/globals.h" | 12 #include "src/globals.h" |
| 13 #include "src/objects-inl.h" |
13 | 14 |
14 namespace v8 { | 15 namespace v8 { |
15 namespace internal { | 16 namespace internal { |
16 | 17 |
17 CallPrinter::CallPrinter(Isolate* isolate, bool is_user_js) | 18 CallPrinter::CallPrinter(Isolate* isolate, bool is_user_js) |
18 : builder_(isolate) { | 19 : builder_(isolate) { |
19 isolate_ = isolate; | 20 isolate_ = isolate; |
20 position_ = 0; | 21 position_ = 0; |
21 num_prints_ = 0; | 22 num_prints_ = 0; |
22 found_ = false; | 23 found_ = false; |
(...skipping 1196 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1219 | 1220 |
1220 void AstPrinter::VisitRewritableExpression(RewritableExpression* node) { | 1221 void AstPrinter::VisitRewritableExpression(RewritableExpression* node) { |
1221 Visit(node->expression()); | 1222 Visit(node->expression()); |
1222 } | 1223 } |
1223 | 1224 |
1224 | 1225 |
1225 #endif // DEBUG | 1226 #endif // DEBUG |
1226 | 1227 |
1227 } // namespace internal | 1228 } // namespace internal |
1228 } // namespace v8 | 1229 } // namespace v8 |
OLD | NEW |