Index: test/cctest/test-heap-profiler.cc |
diff --git a/test/cctest/test-heap-profiler.cc b/test/cctest/test-heap-profiler.cc |
index e62b3a432a58ae9d9272a8dee1f15aaac85ac495..809372d75aa80c1710c6c224d29fcbc76fc6cd09 100644 |
--- a/test/cctest/test-heap-profiler.cc |
+++ b/test/cctest/test-heap-profiler.cc |
@@ -2072,23 +2072,3 @@ TEST(HeapObjectsTracker) { |
" a.shift();\n" |
"findUntrackedObjects();\n"); |
} |
- |
- |
-// If we don't disable allocation folding when allocations tracking is on, we |
-// may have untracked allocations. |
-TEST(DisableAllocationFolding) { |
- LocalContext env; |
- v8::HandleScope scope(env->GetIsolate()); |
- HeapObjectsTracker tracker; |
- CompileRun( |
- "function literal() {" |
- " return [1];" |
- "}" |
- "function modify_literal(literal, v) {" |
- " literal[0] = v;" |
- " return literal;" |
- "}" |
- "obj = modify_literal(literal(), 1);" |
- "obj = modify_literal(literal(), 1.5);" |
- "obj = modify_literal(literal(), 1);"); |
-} |