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

Unified Diff: test/cctest/test-mark-compact.cc

Issue 5745005: Provide baseline GC version. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 10 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 side-by-side diff with in-line comments
Download patch
Index: test/cctest/test-mark-compact.cc
diff --git a/test/cctest/test-mark-compact.cc b/test/cctest/test-mark-compact.cc
index 86f105f2c971234f48641e82c00b5204a5ac2021..eb6766be84d59db2372f8776e09a6b8188f26d1f 100644
--- a/test/cctest/test-mark-compact.cc
+++ b/test/cctest/test-mark-compact.cc
@@ -228,6 +228,7 @@ TEST(MarkCompactCollector) {
}
+#ifndef BASELINE_GC
static Handle<Map> CreateMap() {
return Factory::NewMap(JS_OBJECT_TYPE, JSObject::kHeaderSize);
}
@@ -256,7 +257,7 @@ TEST(MapCompact) {
// And now map pointers should be encodable again.
CHECK(Heap::map_space()->MapPointersEncodable());
}
-
+#endif
static int gc_starts = 0;
static int gc_ends = 0;
« src/ia32/codegen-ia32.cc ('K') | « src/spaces-inl.h ('k') | test/cctest/test-spaces.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698