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 #if !defined(DART_PRECOMPILED_RUNTIME) | |
6 | |
7 #include "vm/cha.h" | 5 #include "vm/cha.h" |
8 #include "vm/class_table.h" | 6 #include "vm/class_table.h" |
9 #include "vm/flags.h" | 7 #include "vm/flags.h" |
10 #include "vm/freelist.h" | 8 #include "vm/freelist.h" |
11 #include "vm/object.h" | 9 #include "vm/object.h" |
12 #include "vm/raw_object.h" | 10 #include "vm/raw_object.h" |
13 #include "vm/visitor.h" | 11 #include "vm/visitor.h" |
14 | 12 |
15 namespace dart { | 13 namespace dart { |
16 | 14 |
(...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
167 return false; | 165 return false; |
168 } | 166 } |
169 | 167 |
170 void CHA::RegisterDependencies(const Code& code) const { | 168 void CHA::RegisterDependencies(const Code& code) const { |
171 for (intptr_t i = 0; i < guarded_classes_.length(); ++i) { | 169 for (intptr_t i = 0; i < guarded_classes_.length(); ++i) { |
172 guarded_classes_[i].cls->RegisterCHACode(code); | 170 guarded_classes_[i].cls->RegisterCHACode(code); |
173 } | 171 } |
174 } | 172 } |
175 | 173 |
176 } // namespace dart | 174 } // namespace dart |
177 | |
178 #endif // !defined(DART_PRECOMPILED_RUNTIME) | |
OLD | NEW |