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/prettyprinter.h" | 5 #include "src/ast/prettyprinter.h" |
6 | 6 |
7 #include <stdarg.h> | 7 #include <stdarg.h> |
8 | 8 |
9 #include "src/ast-value-factory.h" | 9 #include "src/ast/ast-value-factory.h" |
| 10 #include "src/ast/scopes.h" |
10 #include "src/base/platform/platform.h" | 11 #include "src/base/platform/platform.h" |
11 #include "src/scopes.h" | |
12 | 12 |
13 namespace v8 { | 13 namespace v8 { |
14 namespace internal { | 14 namespace internal { |
15 | 15 |
16 CallPrinter::CallPrinter(Isolate* isolate) { | 16 CallPrinter::CallPrinter(Isolate* isolate) { |
17 output_ = NULL; | 17 output_ = NULL; |
18 size_ = 0; | 18 size_ = 0; |
19 pos_ = 0; | 19 pos_ = 0; |
20 position_ = 0; | 20 position_ = 0; |
21 found_ = false; | 21 found_ = false; |
(...skipping 1634 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1656 | 1656 |
1657 void AstPrinter::VisitSuperCallReference(SuperCallReference* node) { | 1657 void AstPrinter::VisitSuperCallReference(SuperCallReference* node) { |
1658 IndentedScope indent(this, "SUPER-CALL-REFERENCE", node->position()); | 1658 IndentedScope indent(this, "SUPER-CALL-REFERENCE", node->position()); |
1659 } | 1659 } |
1660 | 1660 |
1661 | 1661 |
1662 #endif // DEBUG | 1662 #endif // DEBUG |
1663 | 1663 |
1664 } // namespace internal | 1664 } // namespace internal |
1665 } // namespace v8 | 1665 } // namespace v8 |
OLD | NEW |