Chromium Code Reviews| Index: src/spaces.cc |
| =================================================================== |
| --- src/spaces.cc (revision 13960) |
| +++ src/spaces.cc (working copy) |
| @@ -1030,9 +1030,9 @@ |
| size = 16 * kPointerSize * KB; |
| break; |
| case CODE_SPACE: |
| - if (kPointerSize == 8) { |
| + if (heap()->isolate()->code_range()->exists()) { |
| // On x64 we allocate code pages in a special way (from the reserved |
|
danno
2013/03/18 13:09:03
Why this change at all? What's the motivation? And
|
| - // 2Byte area). That part of the code is not yet upgraded to handle |
| + // 512M byte area). That part of the code is not yet upgraded to handle |
| // small pages. |
| size = AreaSize(); |
| } else { |