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

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

Issue 7033024: Add bit_field3 to Map objects (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: review feedback Created 9 years, 7 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 2010 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
11 // with the distribution. 11 // with the distribution.
(...skipping 253 matching lines...) Expand 10 before | Expand all | Expand 10 after
265 (kPointerSize <= instance_size() && 265 (kPointerSize <= instance_size() &&
266 instance_size() < HEAP->Capacity())); 266 instance_size() < HEAP->Capacity()));
267 VerifyHeapPointer(prototype()); 267 VerifyHeapPointer(prototype());
268 VerifyHeapPointer(instance_descriptors()); 268 VerifyHeapPointer(instance_descriptors());
269 } 269 }
270 270
271 271
272 void Map::SharedMapVerify() { 272 void Map::SharedMapVerify() {
273 MapVerify(); 273 MapVerify();
274 ASSERT(is_shared()); 274 ASSERT(is_shared());
275 ASSERT_EQ(GetHeap()->empty_descriptor_array(), instance_descriptors()); 275 ASSERT(instance_descriptors()->IsEmpty());
276 ASSERT_EQ(0, pre_allocated_property_fields()); 276 ASSERT_EQ(0, pre_allocated_property_fields());
277 ASSERT_EQ(0, unused_property_fields()); 277 ASSERT_EQ(0, unused_property_fields());
278 ASSERT_EQ(StaticVisitorBase::GetVisitorId(instance_type(), instance_size()), 278 ASSERT_EQ(StaticVisitorBase::GetVisitorId(instance_type(), instance_size()),
279 visitor_id()); 279 visitor_id());
280 } 280 }
281 281
282 282
283 void CodeCache::CodeCacheVerify() { 283 void CodeCache::CodeCacheVerify() {
284 VerifyHeapPointer(default_cache()); 284 VerifyHeapPointer(default_cache());
285 VerifyHeapPointer(normal_type_cache()); 285 VerifyHeapPointer(normal_type_cache());
(...skipping 443 matching lines...) Expand 10 before | Expand all | Expand 10 after
729 ASSERT(e->IsUndefined()); 729 ASSERT(e->IsUndefined());
730 } 730 }
731 } 731 }
732 } 732 }
733 } 733 }
734 734
735 735
736 #endif // DEBUG 736 #endif // DEBUG
737 737
738 } } // namespace v8::internal 738 } } // 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