| 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 static void DumpObjectType(FILE* out, Object *obj, bool print_more); | 44 static void DumpObjectType(FILE* out, Object* obj, bool print_more); |
| 45 static void DumpObjectType(FILE* out, Object *obj) { | 45 static void DumpObjectType(FILE* out, Object* obj) { |
| 46 DumpObjectType(out, obj, false); | 46 DumpObjectType(out, obj, false); |
| 47 } | 47 } |
| 48 static void DumpObjectType(Object *obj, bool print_more) { | 48 static void DumpObjectType(Object* obj, bool print_more) { |
| 49 DumpObjectType(stdout, obj, print_more); | 49 DumpObjectType(stdout, obj, print_more); |
| 50 } | 50 } |
| 51 static void DumpObjectType(Object *obj) { | 51 static void DumpObjectType(Object* obj) { |
| 52 DumpObjectType(stdout, obj, false); | 52 DumpObjectType(stdout, obj, false); |
| 53 } | 53 } |
| 54 }; | 54 }; |
| 55 | 55 |
| 56 } } // namespace v8::internal | 56 } } // namespace v8::internal |
| 57 | 57 |
| 58 #endif // INSPECTOR | 58 #endif // INSPECTOR |
| 59 | 59 |
| 60 #endif // V8_INSPECTOR_H_ | 60 #endif // V8_INSPECTOR_H_ |
| OLD | NEW |