| OLD | NEW |
| 1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 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 546 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 557 if (sizeof(initial_memory) == 8) { // 64-bit. | 557 if (sizeof(initial_memory) == 8) { // 64-bit. |
| 558 if (v8::internal::Snapshot::IsEnabled()) { | 558 if (v8::internal::Snapshot::IsEnabled()) { |
| 559 CHECK_LE(delta, 3700 * 1024); | 559 CHECK_LE(delta, 3700 * 1024); |
| 560 } else { | 560 } else { |
| 561 CHECK_LE(delta, 4200 * 1024); | 561 CHECK_LE(delta, 4200 * 1024); |
| 562 } | 562 } |
| 563 } else { // 32-bit. | 563 } else { // 32-bit. |
| 564 if (v8::internal::Snapshot::IsEnabled()) { | 564 if (v8::internal::Snapshot::IsEnabled()) { |
| 565 CHECK_LE(delta, 2600 * 1024); | 565 CHECK_LE(delta, 2600 * 1024); |
| 566 } else { | 566 } else { |
| 567 CHECK_LE(delta, 3000 * 1024); | 567 CHECK_LE(delta, 3100 * 1024); |
| 568 } | 568 } |
| 569 } | 569 } |
| 570 } | 570 } |
| 571 } | 571 } |
| 572 | 572 |
| 573 #endif // __linux__ and !USE_SIMULATOR | 573 #endif // __linux__ and !USE_SIMULATOR |
| OLD | NEW |