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/objects.h" | 5 #include "src/objects.h" |
6 | 6 |
7 #include <iomanip> | 7 #include <iomanip> |
8 #include <memory> | 8 #include <memory> |
9 | 9 |
10 #include "src/bootstrapper.h" | 10 #include "src/bootstrapper.h" |
11 #include "src/disasm.h" | 11 #include "src/disasm.h" |
12 #include "src/disassembler.h" | 12 #include "src/disassembler.h" |
13 #include "src/interpreter/bytecodes.h" | 13 #include "src/interpreter/bytecodes.h" |
14 #include "src/objects-inl.h" | 14 #include "src/objects-inl.h" |
| 15 #include "src/objects/debug-objects-inl.h" |
15 #include "src/ostreams.h" | 16 #include "src/ostreams.h" |
16 #include "src/regexp/jsregexp.h" | 17 #include "src/regexp/jsregexp.h" |
17 | 18 |
18 namespace v8 { | 19 namespace v8 { |
19 namespace internal { | 20 namespace internal { |
20 | 21 |
21 #ifdef OBJECT_PRINT | 22 #ifdef OBJECT_PRINT |
22 | 23 |
23 void Object::Print() { | 24 void Object::Print() { |
24 OFStream os(stdout); | 25 OFStream os(stdout); |
(...skipping 1704 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1729 printf("Not a transition array\n"); | 1730 printf("Not a transition array\n"); |
1730 } else { | 1731 } else { |
1731 reinterpret_cast<i::TransitionArray*>(object)->Print(); | 1732 reinterpret_cast<i::TransitionArray*>(object)->Print(); |
1732 } | 1733 } |
1733 } | 1734 } |
1734 | 1735 |
1735 extern void _v8_internal_Print_StackTrace() { | 1736 extern void _v8_internal_Print_StackTrace() { |
1736 i::Isolate* isolate = i::Isolate::Current(); | 1737 i::Isolate* isolate = i::Isolate::Current(); |
1737 isolate->PrintStack(stdout); | 1738 isolate->PrintStack(stdout); |
1738 } | 1739 } |
OLD | NEW |