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

Side by Side Diff: src/spaces.cc

Issue 216993002: Revert "Inline internal getters for typed arrays & friends." (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 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
« no previous file with comments | « src/runtime.cc ('k') | src/typedarray.js » ('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 1033 matching lines...) Expand 10 before | Expand all | Expand 10 after
1044 p->InsertAfter(anchor_.prev_page()); 1044 p->InsertAfter(anchor_.prev_page());
1045 1045
1046 return true; 1046 return true;
1047 } 1047 }
1048 1048
1049 1049
1050 intptr_t PagedSpace::SizeOfFirstPage() { 1050 intptr_t PagedSpace::SizeOfFirstPage() {
1051 int size = 0; 1051 int size = 0;
1052 switch (identity()) { 1052 switch (identity()) {
1053 case OLD_POINTER_SPACE: 1053 case OLD_POINTER_SPACE:
1054 size = 96 * kPointerSize * KB; 1054 size = 72 * kPointerSize * KB;
1055 break; 1055 break;
1056 case OLD_DATA_SPACE: 1056 case OLD_DATA_SPACE:
1057 size = 192 * KB; 1057 size = 192 * KB;
1058 break; 1058 break;
1059 case MAP_SPACE: 1059 case MAP_SPACE:
1060 size = 16 * kPointerSize * KB; 1060 size = 16 * kPointerSize * KB;
1061 break; 1061 break;
1062 case CELL_SPACE: 1062 case CELL_SPACE:
1063 size = 16 * kPointerSize * KB; 1063 size = 16 * kPointerSize * KB;
1064 break; 1064 break;
(...skipping 2134 matching lines...) Expand 10 before | Expand all | Expand 10 after
3199 object->ShortPrint(); 3199 object->ShortPrint();
3200 PrintF("\n"); 3200 PrintF("\n");
3201 } 3201 }
3202 printf(" --------------------------------------\n"); 3202 printf(" --------------------------------------\n");
3203 printf(" Marked: %x, LiveCount: %x\n", mark_size, LiveBytes()); 3203 printf(" Marked: %x, LiveCount: %x\n", mark_size, LiveBytes());
3204 } 3204 }
3205 3205
3206 #endif // DEBUG 3206 #endif // DEBUG
3207 3207
3208 } } // namespace v8::internal 3208 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/runtime.cc ('k') | src/typedarray.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698