| Index: test/cctest/test-spaces.cc
 | 
| diff --git a/test/cctest/test-spaces.cc b/test/cctest/test-spaces.cc
 | 
| index 47e2536fc9a79e2598b65455a18767bf442dbcd4..b10258af12706efc73a427d05471bdb5b204277b 100644
 | 
| --- a/test/cctest/test-spaces.cc
 | 
| +++ b/test/cctest/test-spaces.cc
 | 
| @@ -408,6 +408,8 @@ TEST(SizeOfFirstPageIsLargeEnough) {
 | 
|  
 | 
|    // Freshly initialized VM gets by with one page per space.
 | 
|    for (int i = FIRST_PAGED_SPACE; i <= LAST_PAGED_SPACE; i++) {
 | 
| +    // Debug code can be very large, so skip CODE_SPACE if we are generating it.
 | 
| +    if (i == CODE_SPACE && i::FLAG_debug_code) continue;
 | 
|      CHECK_EQ(1, isolate->heap()->paged_space(i)->CountTotalPages());
 | 
|    }
 | 
|  
 | 
| @@ -415,6 +417,8 @@ TEST(SizeOfFirstPageIsLargeEnough) {
 | 
|    HandleScope scope(isolate);
 | 
|    CompileRun("/*empty*/");
 | 
|    for (int i = FIRST_PAGED_SPACE; i <= LAST_PAGED_SPACE; i++) {
 | 
| +    // Debug code can be very large, so skip CODE_SPACE if we are generating it.
 | 
| +    if (i == CODE_SPACE && i::FLAG_debug_code) continue;
 | 
|      CHECK_EQ(1, isolate->heap()->paged_space(i)->CountTotalPages());
 | 
|    }
 | 
|  
 | 
| 
 |