| OLD | NEW |
| 1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2015, 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_THREAD_H_ | 5 #ifndef VM_THREAD_H_ |
| 6 #define VM_THREAD_H_ | 6 #define VM_THREAD_H_ |
| 7 | 7 |
| 8 #include "include/dart_api.h" | 8 #include "include/dart_api.h" |
| 9 #include "platform/assert.h" | 9 #include "platform/assert.h" |
| 10 #include "vm/atomic.h" | 10 #include "vm/atomic.h" |
| (...skipping 27 matching lines...) Expand all Loading... |
| 38 class Object; | 38 class Object; |
| 39 class OSThread; | 39 class OSThread; |
| 40 class PcDescriptors; | 40 class PcDescriptors; |
| 41 class RawBool; | 41 class RawBool; |
| 42 class RawObject; | 42 class RawObject; |
| 43 class RawCode; | 43 class RawCode; |
| 44 class RawError; | 44 class RawError; |
| 45 class RawGrowableObjectArray; | 45 class RawGrowableObjectArray; |
| 46 class RawString; | 46 class RawString; |
| 47 class RuntimeEntry; | 47 class RuntimeEntry; |
| 48 class Smi; |
| 48 class StackResource; | 49 class StackResource; |
| 49 class String; | 50 class String; |
| 50 class TypeArguments; | 51 class TypeArguments; |
| 51 class TypeParameter; | 52 class TypeParameter; |
| 52 class Zone; | 53 class Zone; |
| 53 | 54 |
| 54 #define REUSABLE_HANDLE_LIST(V) \ | 55 #define REUSABLE_HANDLE_LIST(V) \ |
| 55 V(AbstractType) \ | 56 V(AbstractType) \ |
| 56 V(Array) \ | 57 V(Array) \ |
| 57 V(Class) \ | 58 V(Class) \ |
| 58 V(Code) \ | 59 V(Code) \ |
| 59 V(Error) \ | 60 V(Error) \ |
| 60 V(ExceptionHandlers) \ | 61 V(ExceptionHandlers) \ |
| 61 V(Field) \ | 62 V(Field) \ |
| 62 V(Function) \ | 63 V(Function) \ |
| 63 V(GrowableObjectArray) \ | 64 V(GrowableObjectArray) \ |
| 64 V(Instance) \ | 65 V(Instance) \ |
| 65 V(Library) \ | 66 V(Library) \ |
| 66 V(Object) \ | 67 V(Object) \ |
| 67 V(PcDescriptors) \ | 68 V(PcDescriptors) \ |
| 69 V(Smi) \ |
| 68 V(String) \ | 70 V(String) \ |
| 69 V(TypeArguments) \ | 71 V(TypeArguments) \ |
| 70 V(TypeParameter) \ | 72 V(TypeParameter) \ |
| 71 | 73 |
| 72 | 74 |
| 73 #if defined(TARGET_ARCH_DBC) | 75 #if defined(TARGET_ARCH_DBC) |
| 74 #define CACHED_VM_STUBS_LIST(V) | 76 #define CACHED_VM_STUBS_LIST(V) |
| 75 #else | 77 #else |
| 76 #define CACHED_VM_STUBS_LIST(V) \ | 78 #define CACHED_VM_STUBS_LIST(V) \ |
| 77 V(RawCode*, update_store_buffer_code_, \ | 79 V(RawCode*, update_store_buffer_code_, \ |
| (...skipping 677 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 755 // Disable thread interrupts. | 757 // Disable thread interrupts. |
| 756 class DisableThreadInterruptsScope : public StackResource { | 758 class DisableThreadInterruptsScope : public StackResource { |
| 757 public: | 759 public: |
| 758 explicit DisableThreadInterruptsScope(Thread* thread); | 760 explicit DisableThreadInterruptsScope(Thread* thread); |
| 759 ~DisableThreadInterruptsScope(); | 761 ~DisableThreadInterruptsScope(); |
| 760 }; | 762 }; |
| 761 | 763 |
| 762 } // namespace dart | 764 } // namespace dart |
| 763 | 765 |
| 764 #endif // VM_THREAD_H_ | 766 #endif // VM_THREAD_H_ |
| OLD | NEW |