| Index: test/cctest/test-heap.cc
|
| diff --git a/test/cctest/test-heap.cc b/test/cctest/test-heap.cc
|
| index f797ecc35bab0de098d6e0a1ba3c13b59c569ed6..7946d7055d223f6275cba3752427b97e28113514 100644
|
| --- a/test/cctest/test-heap.cc
|
| +++ b/test/cctest/test-heap.cc
|
| @@ -2200,7 +2200,6 @@ TEST(OptimizedPretenuringAllocationFolding) {
|
| if (!CcTest::i_isolate()->use_crankshaft() || i::FLAG_always_opt) return;
|
| if (i::FLAG_gc_global || i::FLAG_stress_compaction) return;
|
| v8::HandleScope scope(CcTest::isolate());
|
| - CcTest::heap()->SetNewSpaceHighPromotionModeActive(true);
|
|
|
| v8::Local<v8::Value> res = CompileRun(
|
| "function DataObject() {"
|
| @@ -2243,7 +2242,6 @@ TEST(OptimizedPretenuringAllocationFoldingBlocks) {
|
| if (!CcTest::i_isolate()->use_crankshaft() || i::FLAG_always_opt) return;
|
| if (i::FLAG_gc_global || i::FLAG_stress_compaction) return;
|
| v8::HandleScope scope(CcTest::isolate());
|
| - CcTest::heap()->SetNewSpaceHighPromotionModeActive(true);
|
|
|
| v8::Local<v8::Value> res = CompileRun(
|
| "var number_elements = 30000;"
|
| @@ -2590,7 +2588,6 @@ TEST(OptimizedPretenuringCallNew) {
|
| if (!CcTest::i_isolate()->use_crankshaft() || i::FLAG_always_opt) return;
|
| if (i::FLAG_gc_global || i::FLAG_stress_compaction) return;
|
| v8::HandleScope scope(CcTest::isolate());
|
| - CcTest::heap()->SetNewSpaceHighPromotionModeActive(true);
|
|
|
| AlwaysAllocateScope always_allocate(CcTest::i_isolate());
|
| v8::Local<v8::Value> res = CompileRun(
|
| @@ -3723,10 +3720,6 @@ TEST(DisableInlineAllocation) {
|
| CcTest::heap()->DisableInlineAllocation();
|
| CompileRun("run()");
|
|
|
| - // Run test with inline allocation disabled and pretenuring.
|
| - CcTest::heap()->SetNewSpaceHighPromotionModeActive(true);
|
| - CompileRun("run()");
|
| -
|
| // Run test with inline allocation re-enabled.
|
| CcTest::heap()->EnableInlineAllocation();
|
| CompileRun("run()");
|
|
|