Index: test/cctest/test-compiler.cc |
diff --git a/test/cctest/test-compiler.cc b/test/cctest/test-compiler.cc |
index 1e3e0d55fac9e69a6ee922520bb993ba322ef6ab..bed8a6c92ba7822898a0fd9824fe17c02a088c45 100644 |
--- a/test/cctest/test-compiler.cc |
+++ b/test/cctest/test-compiler.cc |
@@ -349,6 +349,7 @@ TEST(OptimizedCodeSharing) { |
// Skip test if --cache-optimized-code is not activated by default because |
// FastNewClosureStub that is baked into the snapshot is incorrect. |
if (!FLAG_cache_optimized_code) return; |
+ FLAG_stress_compaction = false; |
FLAG_allow_natives_syntax = true; |
CcTest::InitializeVM(); |
v8::HandleScope scope(CcTest::isolate()); |