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

Side by Side Diff: src/spaces.cc

Issue 15012016: small misspelling fixes. (Closed) Base URL: http://v8.googlecode.com/svn/trunk/
Patch Set: Created 7 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/serialize.h ('k') | src/string-search.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 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 371 matching lines...) Expand 10 before | Expand all | Expand 10 after
382 base = NULL; 382 base = NULL;
383 } 383 }
384 } else { 384 } else {
385 if (!reservation.Commit(base, commit_size, false)) { 385 if (!reservation.Commit(base, commit_size, false)) {
386 base = NULL; 386 base = NULL;
387 } 387 }
388 } 388 }
389 389
390 if (base == NULL) { 390 if (base == NULL) {
391 // Failed to commit the body. Release the mapping and any partially 391 // Failed to commit the body. Release the mapping and any partially
392 // commited regions inside it. 392 // committed regions inside it.
393 reservation.Release(); 393 reservation.Release();
394 return NULL; 394 return NULL;
395 } 395 }
396 396
397 controller->TakeControl(&reservation); 397 controller->TakeControl(&reservation);
398 return base; 398 return base;
399 } 399 }
400 400
401 401
402 void Page::InitializeAsAnchor(PagedSpace* owner) { 402 void Page::InitializeAsAnchor(PagedSpace* owner) {
(...skipping 2773 matching lines...) Expand 10 before | Expand all | Expand 10 after
3176 object->ShortPrint(); 3176 object->ShortPrint();
3177 PrintF("\n"); 3177 PrintF("\n");
3178 } 3178 }
3179 printf(" --------------------------------------\n"); 3179 printf(" --------------------------------------\n");
3180 printf(" Marked: %x, LiveCount: %x\n", mark_size, LiveBytes()); 3180 printf(" Marked: %x, LiveCount: %x\n", mark_size, LiveBytes());
3181 } 3181 }
3182 3182
3183 #endif // DEBUG 3183 #endif // DEBUG
3184 3184
3185 } } // namespace v8::internal 3185 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/serialize.h ('k') | src/string-search.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698