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/v8.h" |
6 | 6 |
7 #include "src/disasm.h" | 7 #include "src/disasm.h" |
8 #include "src/disassembler.h" | 8 #include "src/disassembler.h" |
9 #include "src/jsregexp.h" | 9 #include "src/jsregexp.h" |
10 #include "src/objects-visiting.h" | 10 #include "src/objects-visiting.h" |
| 11 #include "src/ostreams.h" |
11 | 12 |
12 namespace v8 { | 13 namespace v8 { |
13 namespace internal { | 14 namespace internal { |
14 | 15 |
15 #ifdef OBJECT_PRINT | 16 #ifdef OBJECT_PRINT |
16 | 17 |
17 void Object::Print() { | 18 void Object::Print() { |
18 OFStream os(stdout); | 19 OFStream os(stdout); |
19 this->Print(os); | 20 this->Print(os); |
20 os << flush; | 21 os << flush; |
(...skipping 1089 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1110 } | 1111 } |
1111 } | 1112 } |
1112 os << "\n"; | 1113 os << "\n"; |
1113 } | 1114 } |
1114 | 1115 |
1115 | 1116 |
1116 #endif // OBJECT_PRINT | 1117 #endif // OBJECT_PRINT |
1117 | 1118 |
1118 | 1119 |
1119 } } // namespace v8::internal | 1120 } } // namespace v8::internal |
OLD | NEW |