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

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

Issue 3141021: Fix presubmit and check failures introduced by r5284. (Closed)
Patch Set: Created 10 years, 4 months 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
« no previous file with comments | « src/mark-compact.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 2006-2008 the V8 project authors. All rights reserved. 1 // Copyright 2006-2008 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 962 matching lines...) Expand 10 before | Expand all | Expand 10 after
973 Heap::CollectAllGarbage(true); 973 Heap::CollectAllGarbage(true);
974 Heap::CollectAllGarbage(true); 974 Heap::CollectAllGarbage(true);
975 975
976 CHECK(function->shared()->is_compiled()); 976 CHECK(function->shared()->is_compiled());
977 977
978 Heap::CollectAllGarbage(true); 978 Heap::CollectAllGarbage(true);
979 Heap::CollectAllGarbage(true); 979 Heap::CollectAllGarbage(true);
980 Heap::CollectAllGarbage(true); 980 Heap::CollectAllGarbage(true);
981 Heap::CollectAllGarbage(true); 981 Heap::CollectAllGarbage(true);
982 Heap::CollectAllGarbage(true); 982 Heap::CollectAllGarbage(true);
983 Heap::CollectAllGarbage(true);
983 984
984 // foo should no longer be in the compilation cache 985 // foo should no longer be in the compilation cache
985 CHECK(!function->shared()->is_compiled()); 986 CHECK(!function->shared()->is_compiled());
986 CHECK(!function->is_compiled()); 987 CHECK(!function->is_compiled());
987 // Call foo to get it recompiled. 988 // Call foo to get it recompiled.
988 CompileRun("foo()"); 989 CompileRun("foo()");
989 CHECK(function->shared()->is_compiled()); 990 CHECK(function->shared()->is_compiled());
990 CHECK(function->is_compiled()); 991 CHECK(function->is_compiled());
991 } 992 }
OLDNEW
« no previous file with comments | « src/mark-compact.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698