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

Unified Diff: runtime/vm/heap.cc

Issue 8528010: Changes to pass the current isolate to all runtime and native calls. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: '' Created 9 years, 1 month 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.h ('k') | runtime/vm/isolate.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/heap.cc
===================================================================
--- runtime/vm/heap.cc (revision 1496)
+++ runtime/vm/heap.cc (working copy)
@@ -137,13 +137,13 @@
#if defined(DEBUG)
-NoGCScope::NoGCScope() : StackResource(), isolate_(Isolate::Current()) {
- isolate_->IncrementNoGCScopeDepth();
+NoGCScope::NoGCScope() : StackResource(Isolate::Current()) {
+ isolate()->IncrementNoGCScopeDepth();
}
NoGCScope::~NoGCScope() {
- isolate_->DecrementNoGCScopeDepth();
+ isolate()->DecrementNoGCScopeDepth();
}
#endif // defined(DEBUG)
« no previous file with comments | « runtime/vm/heap.h ('k') | runtime/vm/isolate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698