Revision: 5285
Author: [email protected]
Date: Tue Aug 17 05:10:27 2010
Log: Fix presubmit and check failures introduced by r5284.
Review URL: http://codereview.chromium.org/3141021
http://code.google.com/p/v8/source/detail?r=5285
Modified:
/branches/bleeding_edge/src/mark-compact.cc
/branches/bleeding_edge/test/cctest/test-heap.cc
=======================================
--- /branches/bleeding_edge/src/mark-compact.cc Tue Aug 17 04:44:01 2010
+++ /branches/bleeding_edge/src/mark-compact.cc Tue Aug 17 05:10:27 2010
@@ -518,15 +518,15 @@
if (!ctx->IsHeapObject()) return false;
Map* map = SafeMap(ctx);
- if(!(map == Heap::raw_unchecked_context_map() ||
- map == Heap::raw_unchecked_catch_context_map() ||
- map == Heap::raw_unchecked_global_context_map())) {
+ if (!(map == Heap::raw_unchecked_context_map() ||
+ map == Heap::raw_unchecked_catch_context_map() ||
+ map == Heap::raw_unchecked_global_context_map())) {
return false;
}
Context* context = reinterpret_cast<Context*>(ctx);
- if(IsJSBuiltinsObject(context->global())) {
+ if (IsJSBuiltinsObject(context->global())) {
return false;
}
=======================================
--- /branches/bleeding_edge/test/cctest/test-heap.cc Tue Aug 17 04:44:01
2010
+++ /branches/bleeding_edge/test/cctest/test-heap.cc Tue Aug 17 05:10:27
2010
@@ -975,6 +975,7 @@
CHECK(function->shared()->is_compiled());
+ Heap::CollectAllGarbage(true);
Heap::CollectAllGarbage(true);
Heap::CollectAllGarbage(true);
Heap::CollectAllGarbage(true);
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev