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

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

Issue 6639024: Get rid of distinction between below- and above-watermark in page allocation.... (Closed) Base URL: http://v8.googlecode.com/svn/branches/experimental/gc/
Patch Set: '' Created 9 years, 9 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
OLDNEW
1 // Copyright 2010 the V8 project authors. All rights reserved. 1 // Copyright 2010 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 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
84 break; 84 break;
85 case HEAP_NUMBER_TYPE: 85 case HEAP_NUMBER_TYPE:
86 HeapNumber::cast(this)->HeapNumberVerify(); 86 HeapNumber::cast(this)->HeapNumberVerify();
87 break; 87 break;
88 case FIXED_ARRAY_TYPE: 88 case FIXED_ARRAY_TYPE:
89 FixedArray::cast(this)->FixedArrayVerify(); 89 FixedArray::cast(this)->FixedArrayVerify();
90 break; 90 break;
91 case BYTE_ARRAY_TYPE: 91 case BYTE_ARRAY_TYPE:
92 ByteArray::cast(this)->ByteArrayVerify(); 92 ByteArray::cast(this)->ByteArrayVerify();
93 break; 93 break;
94 case FREE_SPACE_TYPE:
95 FreeSpace::cast(this)->FreeSpaceVerify();
96 break;
94 case EXTERNAL_PIXEL_ARRAY_TYPE: 97 case EXTERNAL_PIXEL_ARRAY_TYPE:
95 ExternalPixelArray::cast(this)->ExternalPixelArrayVerify(); 98 ExternalPixelArray::cast(this)->ExternalPixelArrayVerify();
96 break; 99 break;
97 case EXTERNAL_BYTE_ARRAY_TYPE: 100 case EXTERNAL_BYTE_ARRAY_TYPE:
98 ExternalByteArray::cast(this)->ExternalByteArrayVerify(); 101 ExternalByteArray::cast(this)->ExternalByteArrayVerify();
99 break; 102 break;
100 case EXTERNAL_UNSIGNED_BYTE_ARRAY_TYPE: 103 case EXTERNAL_UNSIGNED_BYTE_ARRAY_TYPE:
101 ExternalUnsignedByteArray::cast(this)->ExternalUnsignedByteArrayVerify(); 104 ExternalUnsignedByteArray::cast(this)->ExternalUnsignedByteArrayVerify();
102 break; 105 break;
103 case EXTERNAL_SHORT_ARRAY_TYPE: 106 case EXTERNAL_SHORT_ARRAY_TYPE:
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
185 void HeapNumber::HeapNumberVerify() { 188 void HeapNumber::HeapNumberVerify() {
186 ASSERT(IsHeapNumber()); 189 ASSERT(IsHeapNumber());
187 } 190 }
188 191
189 192
190 void ByteArray::ByteArrayVerify() { 193 void ByteArray::ByteArrayVerify() {
191 ASSERT(IsByteArray()); 194 ASSERT(IsByteArray());
192 } 195 }
193 196
194 197
198 void FreeSpace::FreeSpaceVerify() {
199 ASSERT(IsFreeSpace());
200 }
201
202
195 void ExternalPixelArray::ExternalPixelArrayVerify() { 203 void ExternalPixelArray::ExternalPixelArrayVerify() {
196 ASSERT(IsExternalPixelArray()); 204 ASSERT(IsExternalPixelArray());
197 } 205 }
198 206
199 207
200 void ExternalByteArray::ExternalByteArrayVerify() { 208 void ExternalByteArray::ExternalByteArrayVerify() {
201 ASSERT(IsExternalByteArray()); 209 ASSERT(IsExternalByteArray());
202 } 210 }
203 211
204 212
(...skipping 507 matching lines...) Expand 10 before | Expand all | Expand 10 after
712 ASSERT(e->IsUndefined()); 720 ASSERT(e->IsUndefined());
713 } 721 }
714 } 722 }
715 } 723 }
716 } 724 }
717 725
718 726
719 #endif // DEBUG 727 #endif // DEBUG
720 728
721 } } // namespace v8::internal 729 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/objects.cc ('k') | src/objects-inl.h » ('j') | src/spaces-inl.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698