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

Side by Side Diff: runtime/vm/ast.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/assembler_x64.cc ('k') | runtime/vm/ast_printer.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) 2011, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2011, 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/ast.h" 7 #include "vm/ast.h"
6 #include "vm/compiler.h" 8 #include "vm/compiler.h"
7 #include "vm/dart_entry.h" 9 #include "vm/dart_entry.h"
8 #include "vm/isolate.h" 10 #include "vm/isolate.h"
9 #include "vm/log.h" 11 #include "vm/log.h"
10 #include "vm/object_store.h" 12 #include "vm/object_store.h"
11 #include "vm/resolver.h" 13 #include "vm/resolver.h"
12 14
13 15
14 namespace dart { 16 namespace dart {
(...skipping 770 matching lines...) Expand 10 before | Expand all | Expand 10 after
785 if (result.IsError() || result.IsNull()) { 787 if (result.IsError() || result.IsNull()) {
786 // TODO(turnidge): We could get better error messages by returning 788 // TODO(turnidge): We could get better error messages by returning
787 // the Error object directly to the parser. This will involve 789 // the Error object directly to the parser. This will involve
788 // replumbing all of the EvalConstExpr methods. 790 // replumbing all of the EvalConstExpr methods.
789 return NULL; 791 return NULL;
790 } 792 }
791 return &Instance::ZoneHandle(Instance::Cast(result).raw()); 793 return &Instance::ZoneHandle(Instance::Cast(result).raw());
792 } 794 }
793 795
794 } // namespace dart 796 } // namespace dart
797
798 #endif // !defined(DART_PRECOMPILED_RUNTIME)
OLDNEW
« no previous file with comments | « runtime/vm/assembler_x64.cc ('k') | runtime/vm/ast_printer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698