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

Side by Side Diff: runtime/vm/handles.cc

Issue 9209001: Move utils.h and utils.cc from runtime/vm to runtime/platform (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 #include "platform/assert.h" 5 #include "platform/assert.h"
6 #include "platform/utils.h"
6 #include "vm/handles.h" 7 #include "vm/handles.h"
7 #include "vm/flags.h" 8 #include "vm/flags.h"
8 #include "vm/isolate.h" 9 #include "vm/isolate.h"
9 #include "vm/os.h" 10 #include "vm/os.h"
10 #include "vm/raw_object.h" 11 #include "vm/raw_object.h"
11 #include "vm/utils.h"
12 #include "vm/visitor.h" 12 #include "vm/visitor.h"
13 #include "vm/zone.h" 13 #include "vm/zone.h"
14 14
15 #include "vm/handles_impl.h" 15 #include "vm/handles_impl.h"
16 16
17 namespace dart { 17 namespace dart {
18 18
19 DEFINE_DEBUG_FLAG(bool, trace_handles_count, 19 DEFINE_DEBUG_FLAG(bool, trace_handles_count,
20 false, "Trace count of handles allocated."); 20 false, "Trace count of handles allocated.");
21 21
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
101 isolate->IncrementNoHandleScopeDepth(); 101 isolate->IncrementNoHandleScopeDepth();
102 } 102 }
103 103
104 104
105 NoHandleScope::~NoHandleScope() { 105 NoHandleScope::~NoHandleScope() {
106 isolate()->DecrementNoHandleScopeDepth(); 106 isolate()->DecrementNoHandleScopeDepth();
107 } 107 }
108 #endif // defined(DEBUG) 108 #endif // defined(DEBUG)
109 109
110 } // namespace dart 110 } // namespace dart
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698