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 #include "vm/exceptions.h" | 5 #include "vm/exceptions.h" |
6 | 6 |
7 #include "platform/address_sanitizer.h" | 7 #include "platform/address_sanitizer.h" |
8 | 8 |
9 #include "vm/dart_api_impl.h" | 9 #include "vm/dart_api_impl.h" |
10 #include "vm/dart_entry.h" | 10 #include "vm/dart_entry.h" |
(...skipping 700 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
711 constructor_name = &Symbols::DotCreate(); | 711 constructor_name = &Symbols::DotCreate(); |
712 break; | 712 break; |
713 case kCyclicInitializationError: | 713 case kCyclicInitializationError: |
714 library = Library::CoreLibrary(); | 714 library = Library::CoreLibrary(); |
715 class_name = &Symbols::CyclicInitializationError(); | 715 class_name = &Symbols::CyclicInitializationError(); |
716 } | 716 } |
717 | 717 |
718 return DartLibraryCalls::InstanceCreate(library, | 718 return DartLibraryCalls::InstanceCreate(library, |
719 *class_name, | 719 *class_name, |
720 *constructor_name, | 720 *constructor_name, |
| 721 false, // Not a factory. |
721 arguments); | 722 arguments); |
722 } | 723 } |
723 | 724 |
724 | 725 |
725 } // namespace dart | 726 } // namespace dart |
OLD | NEW |