Chromium Code Reviews| Index: src/snapshot/snapshot-common.cc |
| diff --git a/src/snapshot/snapshot-common.cc b/src/snapshot/snapshot-common.cc |
| index eb3bdb56045af089b0693dc13fe8fee797393296..d7d983ecad06b72e67d0defd9b254dae9f9df78d 100644 |
| --- a/src/snapshot/snapshot-common.cc |
| +++ b/src/snapshot/snapshot-common.cc |
| @@ -143,8 +143,10 @@ void CalculateFirstPageSizes(bool is_default_snapshot, |
| // Add a small allowance to the code space for small scripts. |
| if (space == CODE_SPACE) required += 32 * KB; |
| } else { |
| - // We expect the vanilla snapshot to only require on page per space. |
| - DCHECK(!is_default_snapshot); |
| + if (!FLAG_debug_code) { |
|
Yang
2016/05/17 11:12:57
I don't feel too strongly about this, but we could
epertoso
2016/05/17 12:21:20
Done.
|
| + // We expect the vanilla snapshot to only require on page per space. |
|
rmcilroy
2016/05/17 10:45:23
/s/on/one
/s/per space./per space, unless we are e
epertoso
2016/05/17 11:02:31
Done.
|
| + DCHECK(!is_default_snapshot); |
| + } |
| } |
| if (space >= FIRST_PAGED_SPACE && space <= LAST_PAGED_SPACE) { |