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

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

Issue 3197010: Version 2.3.10... (Closed) Base URL: http://v8.googlecode.com/svn/trunk/
Patch Set: Created 10 years, 4 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/objects.cc ('k') | src/objects-inl.h » ('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 2006-2008 the V8 project authors. All rights reserved. 1 // Copyright 2006-2008 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 622 matching lines...) Expand 10 before | Expand all | Expand 10 after
633 prototype()->ShortPrint(); 633 prototype()->ShortPrint();
634 PrintF("\n - constructor: "); 634 PrintF("\n - constructor: ");
635 constructor()->ShortPrint(); 635 constructor()->ShortPrint();
636 PrintF("\n"); 636 PrintF("\n");
637 } 637 }
638 638
639 639
640 void Map::MapVerify() { 640 void Map::MapVerify() {
641 ASSERT(!Heap::InNewSpace(this)); 641 ASSERT(!Heap::InNewSpace(this));
642 ASSERT(FIRST_TYPE <= instance_type() && instance_type() <= LAST_TYPE); 642 ASSERT(FIRST_TYPE <= instance_type() && instance_type() <= LAST_TYPE);
643 ASSERT(kPointerSize <= instance_size() 643 ASSERT(instance_size() == kVariableSizeSentinel ||
644 && instance_size() < Heap::Capacity()); 644 (kPointerSize <= instance_size() &&
645 instance_size() < Heap::Capacity()));
645 VerifyHeapPointer(prototype()); 646 VerifyHeapPointer(prototype());
646 VerifyHeapPointer(instance_descriptors()); 647 VerifyHeapPointer(instance_descriptors());
647 } 648 }
648 649
649 650
650 void CodeCache::CodeCachePrint() { 651 void CodeCache::CodeCachePrint() {
651 HeapObject::PrintHeader("CodeCache"); 652 HeapObject::PrintHeader("CodeCache");
652 PrintF("\n - default_cache: "); 653 PrintF("\n - default_cache: ");
653 default_cache()->ShortPrint(); 654 default_cache()->ShortPrint();
654 PrintF("\n - normal_type_cache: "); 655 PrintF("\n - normal_type_cache: ");
(...skipping 703 matching lines...) Expand 10 before | Expand all | Expand 10 after
1358 ASSERT(get(i)->IsTheHole()); 1359 ASSERT(get(i)->IsTheHole());
1359 get(i)->Verify(); 1360 get(i)->Verify();
1360 } 1361 }
1361 } 1362 }
1362 } 1363 }
1363 1364
1364 1365
1365 #endif // DEBUG 1366 #endif // DEBUG
1366 1367
1367 } } // namespace v8::internal 1368 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/objects.cc ('k') | src/objects-inl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698