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

Unified Diff: src/mark-compact.cc

Issue 8043022: Enable compaction, disable code-compaction. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 9 years, 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/flag-definitions.h ('k') | test/mjsunit/mjsunit.status » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/mark-compact.cc
diff --git a/src/mark-compact.cc b/src/mark-compact.cc
index 4526d1220571439a11f957a554d8b0b6c9d14c0d..b90ecf0698a53bbc8fe348064a1b23793e018b3a 100644
--- a/src/mark-compact.cc
+++ b/src/mark-compact.cc
@@ -485,7 +485,7 @@ void MarkCompactCollector::Prepare(GCTracer* tracer) {
#endif
// TODO(1726) Revert this into an assertion when compaction is enabled.
- if (FLAG_never_compact) FLAG_always_compact = false;
+ ASSERT(!FLAG_never_compact || !FLAG_always_compact);
if (collect_maps_) CreateBackPointers();
#ifdef ENABLE_GDB_JIT_INTERFACE
« no previous file with comments | « src/flag-definitions.h ('k') | test/mjsunit/mjsunit.status » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698