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

Side by Side Diff: test/cctest/test-heap.cc

Issue 8746021: Fix compile errors on Windows and Mac introduced by r10093. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 9 years 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/heap.cc ('k') | no next file » | 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 2
3 #include <stdlib.h> 3 #include <stdlib.h>
4 4
5 #include "v8.h" 5 #include "v8.h"
6 6
7 #include "execution.h" 7 #include "execution.h"
8 #include "factory.h" 8 #include "factory.h"
9 #include "macro-assembler.h" 9 #include "macro-assembler.h"
10 #include "global-handles.h" 10 #include "global-handles.h"
(...skipping 1295 matching lines...) Expand 10 before | Expand all | Expand 10 after
1306 " }" 1306 " }"
1307 " return C[n][m];" 1307 " return C[n][m];"
1308 "};" 1308 "};"
1309 "binom(1000, 500)"; 1309 "binom(1000, 500)";
1310 { 1310 {
1311 AlwaysAllocateScope aa_scope; 1311 AlwaysAllocateScope aa_scope;
1312 CompileRun(source); 1312 CompileRun(source);
1313 } 1313 }
1314 intptr_t old_size = HEAP->SizeOfObjects(); 1314 intptr_t old_size = HEAP->SizeOfObjects();
1315 bool no_idle_work = v8::V8::IdleNotification(); 1315 bool no_idle_work = v8::V8::IdleNotification();
1316 while (!v8::V8::IdleNotification()); 1316 while (!v8::V8::IdleNotification()) ;
1317 intptr_t new_size = HEAP->SizeOfObjects(); 1317 intptr_t new_size = HEAP->SizeOfObjects();
1318 CHECK(no_idle_work || new_size < 3 * old_size / 4); 1318 CHECK(no_idle_work || new_size < 3 * old_size / 4);
1319 } 1319 }
OLDNEW
« no previous file with comments | « src/heap.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698