OLD | NEW |
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_ISOLATE_H_ | 5 #ifndef VM_ISOLATE_H_ |
6 #define VM_ISOLATE_H_ | 6 #define VM_ISOLATE_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/class_table.h" | 10 #include "vm/class_table.h" |
(...skipping 18 matching lines...) Expand all Loading... |
29 class Mutex; | 29 class Mutex; |
30 class ObjectPointerVisitor; | 30 class ObjectPointerVisitor; |
31 class ObjectStore; | 31 class ObjectStore; |
32 class RawArray; | 32 class RawArray; |
33 class RawContext; | 33 class RawContext; |
34 class RawDouble; | 34 class RawDouble; |
35 class RawMint; | 35 class RawMint; |
36 class RawInteger; | 36 class RawInteger; |
37 class RawError; | 37 class RawError; |
38 class StackResource; | 38 class StackResource; |
| 39 class StackZone; |
39 class StubCode; | 40 class StubCode; |
40 class Zone; | |
41 | 41 |
42 | 42 |
43 // Used by the deoptimization infrastructure to defer allocation of Double | 43 // Used by the deoptimization infrastructure to defer allocation of Double |
44 // objects until frame is fully rewritten and GC is safe. | 44 // objects until frame is fully rewritten and GC is safe. |
45 // See callers of Isolate::DeferDoubleMaterialization. | 45 // See callers of Isolate::DeferDoubleMaterialization. |
46 class DeferredDouble { | 46 class DeferredDouble { |
47 public: | 47 public: |
48 DeferredDouble(double value, RawDouble** slot, DeferredDouble* next) | 48 DeferredDouble(double value, RawDouble** slot, DeferredDouble* next) |
49 : value_(value), slot_(slot), next_(next) { } | 49 : value_(value), slot_(slot), next_(next) { } |
50 | 50 |
(...skipping 368 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
419 Isolate* new_isolate_; | 419 Isolate* new_isolate_; |
420 Isolate* saved_isolate_; | 420 Isolate* saved_isolate_; |
421 uword saved_stack_limit_; | 421 uword saved_stack_limit_; |
422 | 422 |
423 DISALLOW_COPY_AND_ASSIGN(SwitchIsolateScope); | 423 DISALLOW_COPY_AND_ASSIGN(SwitchIsolateScope); |
424 }; | 424 }; |
425 | 425 |
426 } // namespace dart | 426 } // namespace dart |
427 | 427 |
428 #endif // VM_ISOLATE_H_ | 428 #endif // VM_ISOLATE_H_ |
OLD | NEW |