OLD | NEW |
1 // Copyright (c) 2011, 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 "vm/handles.h" | 5 #include "vm/handles.h" |
6 | 6 |
7 #include "vm/assert.h" | 7 #include "platform/assert.h" |
8 #include "vm/flags.h" | 8 #include "vm/flags.h" |
9 #include "vm/isolate.h" | 9 #include "vm/isolate.h" |
10 #include "vm/os.h" | 10 #include "vm/os.h" |
11 #include "vm/raw_object.h" | 11 #include "vm/raw_object.h" |
12 #include "vm/utils.h" | 12 #include "vm/utils.h" |
13 #include "vm/visitor.h" | 13 #include "vm/visitor.h" |
14 #include "vm/zone.h" | 14 #include "vm/zone.h" |
15 | 15 |
16 #include "vm/handles_impl.h" | 16 #include "vm/handles_impl.h" |
17 | 17 |
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
102 isolate->IncrementNoHandleScopeDepth(); | 102 isolate->IncrementNoHandleScopeDepth(); |
103 } | 103 } |
104 | 104 |
105 | 105 |
106 NoHandleScope::~NoHandleScope() { | 106 NoHandleScope::~NoHandleScope() { |
107 isolate()->DecrementNoHandleScopeDepth(); | 107 isolate()->DecrementNoHandleScopeDepth(); |
108 } | 108 } |
109 #endif // defined(DEBUG) | 109 #endif // defined(DEBUG) |
110 | 110 |
111 } // namespace dart | 111 } // namespace dart |
OLD | NEW |