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

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

Issue 2976723003: Eliminate dependencies on assemblers and code stubs in precompiled runtime. (Closed)
Patch Set: Eliminate precompiled runtime flag Created 3 years, 5 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/flow_graph_allocator.cc ('k') | runtime/vm/flow_graph_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/flow_graph_builder.h" 7 #include "vm/flow_graph_builder.h"
6 8
7 #include "lib/invocation_mirror.h" 9 #include "lib/invocation_mirror.h"
8 #include "vm/ast_printer.h" 10 #include "vm/ast_printer.h"
9 #include "vm/bit_vector.h" 11 #include "vm/bit_vector.h"
10 #include "vm/compiler.h" 12 #include "vm/compiler.h"
11 #include "vm/class_finalizer.h" 13 #include "vm/class_finalizer.h"
12 #include "vm/exceptions.h" 14 #include "vm/exceptions.h"
13 #include "vm/flags.h" 15 #include "vm/flags.h"
14 #include "vm/flow_graph.h" 16 #include "vm/flow_graph.h"
(...skipping 4560 matching lines...) Expand 10 before | Expand all | Expand 10 after
4575 ASSERT(type.HasResolvedTypeClass()); 4577 ASSERT(type.HasResolvedTypeClass());
4576 const Class& type_class = Class::Handle(type.type_class()); 4578 const Class& type_class = Class::Handle(type.type_class());
4577 // Bail if the type has any type parameters. 4579 // Bail if the type has any type parameters.
4578 if (type_class.IsGeneric()) return false; 4580 if (type_class.IsGeneric()) return false;
4579 4581
4580 // Finally a simple class for instance of checking. 4582 // Finally a simple class for instance of checking.
4581 return true; 4583 return true;
4582 } 4584 }
4583 4585
4584 } // namespace dart 4586 } // namespace dart
4587
4588 #endif // !defined(DART_PRECOMPILED_RUNTIME)
OLDNEW
« no previous file with comments | « runtime/vm/flow_graph_allocator.cc ('k') | runtime/vm/flow_graph_compiler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698