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

Unified Diff: vm/handles.cc

Issue 10008030: Inline the StackResource constructor/destructor. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/runtime/
Patch Set: Created 8 years, 8 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 | « vm/handles.h ('k') | vm/isolate.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: vm/handles.cc
===================================================================
--- vm/handles.cc (revision 6287)
+++ vm/handles.cc (working copy)
@@ -69,7 +69,7 @@
}
-HandleScope::HandleScope(Isolate* isolate) : StackResource(isolate) {
+HandleScope::HandleScope(BaseIsolate* isolate) : StackResource(isolate) {
ASSERT(isolate->no_handle_scope_depth() == 0);
VMHandles* handles = isolate->current_zone()->handles();
ASSERT(handles != NULL);
@@ -98,7 +98,7 @@
#if defined(DEBUG)
-NoHandleScope::NoHandleScope(Isolate* isolate) : StackResource(isolate) {
+NoHandleScope::NoHandleScope(BaseIsolate* isolate) : StackResource(isolate) {
isolate->IncrementNoHandleScopeDepth();
}
« no previous file with comments | « vm/handles.h ('k') | vm/isolate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698