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

Side by Side Diff: runtime/vm/object.h

Issue 9196002: Move Mutex and Monitor from vm/ to platform/ (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Addressed revire comments from ager@ 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
« no previous file with comments | « runtime/platform/thread_win.cc ('k') | runtime/vm/thread.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #ifndef VM_OBJECT_H_ 5 #ifndef VM_OBJECT_H_
6 #define VM_OBJECT_H_ 6 #define VM_OBJECT_H_
7 7
8 #include "include/dart_api.h"
8 #include "platform/assert.h" 9 #include "platform/assert.h"
9 #include "platform/utils.h" 10 #include "platform/utils.h"
10 #include "vm/dart.h" 11 #include "vm/dart.h"
11 #include "vm/globals.h" 12 #include "vm/globals.h"
12 #include "vm/handles.h" 13 #include "vm/handles.h"
13 #include "vm/heap.h" 14 #include "vm/heap.h"
14 #include "vm/isolate.h" 15 #include "vm/isolate.h"
15 #include "vm/os.h" 16 #include "vm/os.h"
16 #include "vm/raw_object.h" 17 #include "vm/raw_object.h"
17 #include "vm/scanner.h" 18 #include "vm/scanner.h"
18 19
19 #include "include/dart_api.h"
20
21 namespace dart { 20 namespace dart {
22 21
23 // Forward declarations. 22 // Forward declarations.
24 #define DEFINE_FORWARD_DECLARATION(clazz) \ 23 #define DEFINE_FORWARD_DECLARATION(clazz) \
25 class clazz; 24 class clazz;
26 CLASS_LIST(DEFINE_FORWARD_DECLARATION) 25 CLASS_LIST(DEFINE_FORWARD_DECLARATION)
27 #undef DEFINE_FORWARD_DECLARATION 26 #undef DEFINE_FORWARD_DECLARATION
28 class Assembler; 27 class Assembler;
29 class LocalScope; 28 class LocalScope;
30 29
(...skipping 3414 matching lines...) Expand 10 before | Expand all | Expand 10 after
3445 } 3444 }
3446 3445
3447 3446
3448 void Context::SetAt(intptr_t index, const Instance& value) const { 3447 void Context::SetAt(intptr_t index, const Instance& value) const {
3449 StorePointer(InstanceAddr(index), value.raw()); 3448 StorePointer(InstanceAddr(index), value.raw());
3450 } 3449 }
3451 3450
3452 } // namespace dart 3451 } // namespace dart
3453 3452
3454 #endif // VM_OBJECT_H_ 3453 #endif // VM_OBJECT_H_
OLDNEW
« no previous file with comments | « runtime/platform/thread_win.cc ('k') | runtime/vm/thread.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698