OLD | NEW |
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 | |
7 #include "vm/ast.h" | 5 #include "vm/ast.h" |
8 #include "vm/compiler.h" | 6 #include "vm/compiler.h" |
9 #include "vm/dart_entry.h" | 7 #include "vm/dart_entry.h" |
10 #include "vm/isolate.h" | 8 #include "vm/isolate.h" |
11 #include "vm/log.h" | 9 #include "vm/log.h" |
12 #include "vm/object_store.h" | 10 #include "vm/object_store.h" |
13 #include "vm/resolver.h" | 11 #include "vm/resolver.h" |
14 | 12 |
15 namespace dart { | 13 namespace dart { |
16 | 14 |
(...skipping 722 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
739 if (result.IsError() || result.IsNull()) { | 737 if (result.IsError() || result.IsNull()) { |
740 // TODO(turnidge): We could get better error messages by returning | 738 // TODO(turnidge): We could get better error messages by returning |
741 // the Error object directly to the parser. This will involve | 739 // the Error object directly to the parser. This will involve |
742 // replumbing all of the EvalConstExpr methods. | 740 // replumbing all of the EvalConstExpr methods. |
743 return NULL; | 741 return NULL; |
744 } | 742 } |
745 return &Instance::ZoneHandle(Instance::Cast(result).raw()); | 743 return &Instance::ZoneHandle(Instance::Cast(result).raw()); |
746 } | 744 } |
747 | 745 |
748 } // namespace dart | 746 } // namespace dart |
749 | |
750 #endif // !defined(DART_PRECOMPILED_RUNTIME) | |
OLD | NEW |