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

Unified Diff: runtime/vm/kernel.cc

Issue 2664143002: Revert "Debugging in kernel shaping up." (Closed)
Patch Set: Revert "Debugging in kernel shaping up." Created 3 years, 11 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 | « runtime/vm/kernel.h ('k') | runtime/vm/kernel_binary.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/kernel.cc
diff --git a/runtime/vm/kernel.cc b/runtime/vm/kernel.cc
index 80ffe1d935ce537f24d1ebe2be3ed41ee6de6b2a..48dcbdeeb7b13cbe35a67e1a0ae8b3ec0d6494ec 100644
--- a/runtime/vm/kernel.cc
+++ b/runtime/vm/kernel.cc
@@ -1177,14 +1177,7 @@ void TypeParameter::VisitChildren(Visitor* visitor) {
}
-Program::~Program() {
- while (valid_token_positions.length() > 0) {
- delete valid_token_positions.RemoveLast();
- }
- while (yield_token_positions.length() > 0) {
- delete yield_token_positions.RemoveLast();
- }
-}
+Program::~Program() {}
void Program::AcceptTreeVisitor(TreeVisitor* visitor) {
« no previous file with comments | « runtime/vm/kernel.h ('k') | runtime/vm/kernel_binary.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698