Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(343)

Side by Side Diff: src/objects-printer.cc

Issue 325553002: --verify-predictable mode added for ensuring that GC behaves deterministically. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Addressing review comments Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « src/mark-compact.cc ('k') | src/runtime.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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/disassembler.h" 7 #include "src/disassembler.h"
8 #include "src/disasm.h" 8 #include "src/disasm.h"
9 #include "src/jsregexp.h" 9 #include "src/jsregexp.h"
10 #include "src/objects-visiting.h" 10 #include "src/objects-visiting.h"
(...skipping 397 matching lines...) Expand 10 before | Expand all | Expand 10 after
408 case NONEXISTENT: 408 case NONEXISTENT:
409 UNREACHABLE(); 409 UNREACHABLE();
410 break; 410 break;
411 } 411 }
412 } 412 }
413 } 413 }
414 } 414 }
415 415
416 416
417 void JSObject::JSObjectPrint(FILE* out) { 417 void JSObject::JSObjectPrint(FILE* out) {
418 PrintF(out, "%p: [JSObject]\n", reinterpret_cast<void*>(this)); 418 HeapObject::PrintHeader(out, "JSObject");
419 PrintF(out, " - map = %p [", reinterpret_cast<void*>(map())); 419 PrintF(out, " - map = %p [", reinterpret_cast<void*>(map()));
420 // Don't call GetElementsKind, its validation code can cause the printer to 420 // Don't call GetElementsKind, its validation code can cause the printer to
421 // fail when debugging. 421 // fail when debugging.
422 PrintElementsKind(out, this->map()->elements_kind()); 422 PrintElementsKind(out, this->map()->elements_kind());
423 PrintF(out, 423 PrintF(out,
424 "]\n - prototype = %p\n", 424 "]\n - prototype = %p\n",
425 reinterpret_cast<void*>(GetPrototype())); 425 reinterpret_cast<void*>(GetPrototype()));
426 PrintF(out, " {\n"); 426 PrintF(out, " {\n");
427 PrintProperties(out); 427 PrintProperties(out);
428 PrintTransitions(out); 428 PrintTransitions(out);
(...skipping 828 matching lines...) Expand 10 before | Expand all | Expand 10 after
1257 } 1257 }
1258 } 1258 }
1259 PrintF(out, "\n"); 1259 PrintF(out, "\n");
1260 } 1260 }
1261 1261
1262 1262
1263 #endif // OBJECT_PRINT 1263 #endif // OBJECT_PRINT
1264 1264
1265 1265
1266 } } // namespace v8::internal 1266 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/mark-compact.cc ('k') | src/runtime.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698