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/verifier.h" | 5 #include "vm/verifier.h" |
6 | 6 |
7 #include "vm/assert.h" | 7 #include "platform/assert.h" |
8 #include "vm/dart.h" | 8 #include "vm/dart.h" |
9 #include "vm/dart_api_state.h" | 9 #include "vm/dart_api_state.h" |
10 #include "vm/freelist.h" | 10 #include "vm/freelist.h" |
11 #include "vm/heap.h" | 11 #include "vm/heap.h" |
12 #include "vm/isolate.h" | 12 #include "vm/isolate.h" |
13 #include "vm/object.h" | 13 #include "vm/object.h" |
14 #include "vm/raw_object.h" | 14 #include "vm/raw_object.h" |
15 #include "vm/stack_frame.h" | 15 #include "vm/stack_frame.h" |
16 | 16 |
17 namespace dart { | 17 namespace dart { |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
51 NoGCScope no_gc; | 51 NoGCScope no_gc; |
52 Isolate* isolate = Isolate::Current(); | 52 Isolate* isolate = Isolate::Current(); |
53 VerifyPointersVisitor visitor; | 53 VerifyPointersVisitor visitor; |
54 isolate->VisitObjectPointers(&visitor, | 54 isolate->VisitObjectPointers(&visitor, |
55 StackFrameIterator::kValidateFrames); | 55 StackFrameIterator::kValidateFrames); |
56 VerifyWeakPointersVisitor weak_visitor(&visitor); | 56 VerifyWeakPointersVisitor weak_visitor(&visitor); |
57 isolate->VisitWeakPersistentHandles(&weak_visitor); | 57 isolate->VisitWeakPersistentHandles(&weak_visitor); |
58 } | 58 } |
59 | 59 |
60 } // namespace dart | 60 } // namespace dart |
OLD | NEW |