OLD | NEW |
1 // Copyright 2011 the V8 project authors. All rights reserved. | 1 // Copyright 2011 the V8 project authors. All rights reserved. |
2 // Redistribution and use in source and binary forms, with or without | 2 // Redistribution and use in source and binary forms, with or without |
3 // modification, are permitted provided that the following conditions are | 3 // modification, are permitted provided that the following conditions are |
4 // met: | 4 // met: |
5 // | 5 // |
6 // * Redistributions of source code must retain the above copyright | 6 // * Redistributions of source code must retain the above copyright |
7 // notice, this list of conditions and the following disclaimer. | 7 // notice, this list of conditions and the following disclaimer. |
8 // * Redistributions in binary form must reproduce the above | 8 // * Redistributions in binary form must reproduce the above |
9 // copyright notice, this list of conditions and the following | 9 // copyright notice, this list of conditions and the following |
10 // disclaimer in the documentation and/or other materials provided | 10 // disclaimer in the documentation and/or other materials provided |
(...skipping 23 matching lines...) Expand all Loading... |
34 | 34 |
35 #include "v8.h" | 35 #include "v8.h" |
36 | 36 |
37 #include "objects.h" | 37 #include "objects.h" |
38 | 38 |
39 namespace v8 { | 39 namespace v8 { |
40 namespace internal { | 40 namespace internal { |
41 | 41 |
42 class Inspector { | 42 class Inspector { |
43 public: | 43 public: |
44 | |
45 static void DumpObjectType(FILE* out, Object *obj, bool print_more); | 44 static void DumpObjectType(FILE* out, Object *obj, bool print_more); |
46 static void DumpObjectType(FILE* out, Object *obj) { | 45 static void DumpObjectType(FILE* out, Object *obj) { |
47 DumpObjectType(out, obj, false); | 46 DumpObjectType(out, obj, false); |
48 } | 47 } |
49 static void DumpObjectType(Object *obj, bool print_more) { | 48 static void DumpObjectType(Object *obj, bool print_more) { |
50 DumpObjectType(stdout, obj, print_more); | 49 DumpObjectType(stdout, obj, print_more); |
51 } | 50 } |
52 static void DumpObjectType(Object *obj) { | 51 static void DumpObjectType(Object *obj) { |
53 DumpObjectType(stdout, obj, false); | 52 DumpObjectType(stdout, obj, false); |
54 } | 53 } |
55 }; | 54 }; |
56 | 55 |
57 } } // namespace v8::internal | 56 } } // namespace v8::internal |
58 | 57 |
59 #endif // INSPECTOR | 58 #endif // INSPECTOR |
60 | 59 |
61 #endif // V8_INSPECTOR_H_ | 60 #endif // V8_INSPECTOR_H_ |
62 | |
OLD | NEW |