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

Side by Side Diff: runtime/vm/cha.cc

Issue 2994863002: Reapply "Eliminate dependencies on assemblers and code stubs in precompiled runtime." (Closed)
Patch Set: Exclude references to disassembler in precompiled mode Created 3 years, 4 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
« no previous file with comments | « runtime/vm/branch_optimizer.cc ('k') | runtime/vm/compiler.cc » ('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 #if !defined(DART_PRECOMPILED_RUNTIME)
6
5 #include "vm/cha.h" 7 #include "vm/cha.h"
6 #include "vm/class_table.h" 8 #include "vm/class_table.h"
7 #include "vm/flags.h" 9 #include "vm/flags.h"
8 #include "vm/freelist.h" 10 #include "vm/freelist.h"
9 #include "vm/object.h" 11 #include "vm/object.h"
10 #include "vm/raw_object.h" 12 #include "vm/raw_object.h"
11 #include "vm/visitor.h" 13 #include "vm/visitor.h"
12 14
13 namespace dart { 15 namespace dart {
14 16
(...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after
165 return false; 167 return false;
166 } 168 }
167 169
168 void CHA::RegisterDependencies(const Code& code) const { 170 void CHA::RegisterDependencies(const Code& code) const {
169 for (intptr_t i = 0; i < guarded_classes_.length(); ++i) { 171 for (intptr_t i = 0; i < guarded_classes_.length(); ++i) {
170 guarded_classes_[i].cls->RegisterCHACode(code); 172 guarded_classes_[i].cls->RegisterCHACode(code);
171 } 173 }
172 } 174 }
173 175
174 } // namespace dart 176 } // namespace dart
177
178 #endif // !defined(DART_PRECOMPILED_RUNTIME)
OLDNEW
« no previous file with comments | « runtime/vm/branch_optimizer.cc ('k') | runtime/vm/compiler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698