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

Unified Diff: runtime/vm/log.cc

Issue 1261873005: Migrate stack resource unwinding to Thread. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Simulators. Created 5 years, 5 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/heap.cc ('k') | runtime/vm/longjump.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/log.cc
diff --git a/runtime/vm/log.cc b/runtime/vm/log.cc
index c62d8e56584b4c9004bfbb5499f818c1b9243639..5bb984222e94a902b5b44d41fe529e9779589f7d 100644
--- a/runtime/vm/log.cc
+++ b/runtime/vm/log.cc
@@ -118,7 +118,7 @@ void Log::DisableManualFlush() {
LogBlock::LogBlock(Thread* thread, Log* log)
- : StackResource(thread->isolate()),
+ : StackResource(thread),
log_(log), cursor_(log->cursor()) {
CommonConstructor();
}
@@ -132,7 +132,7 @@ LogBlock::LogBlock(Isolate* isolate)
LogBlock::LogBlock(Thread* thread)
- : StackResource(thread->isolate()),
+ : StackResource(thread),
log_(thread->isolate()->Log()),
cursor_(thread->isolate()->Log()->cursor()) {
CommonConstructor();
« no previous file with comments | « runtime/vm/heap.cc ('k') | runtime/vm/longjump.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698