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

Unified Diff: test/cctest/test-heap-profiler.cc

Issue 37073003: Revert "Disable allocation folding when allocations tracking is on" (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 2 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/hydrogen-instructions.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);");
-}
« no previous file with comments | « src/hydrogen-instructions.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698