| 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 "vm/dart_api_impl.h" | 7 #include "vm/dart_api_impl.h" |
| 8 #include "vm/dart_entry.h" | 8 #include "vm/dart_entry.h" |
| 9 #include "vm/debugger.h" | 9 #include "vm/debugger.h" |
| 10 #include "vm/flags.h" | 10 #include "vm/flags.h" |
| (...skipping 610 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 621 case kMirroredUncaughtExceptionError: | 621 case kMirroredUncaughtExceptionError: |
| 622 library = Library::MirrorsLibrary(); | 622 library = Library::MirrorsLibrary(); |
| 623 class_name = &Symbols::MirroredUncaughtExceptionError(); | 623 class_name = &Symbols::MirroredUncaughtExceptionError(); |
| 624 break; | 624 break; |
| 625 case kMirroredCompilationError: | 625 case kMirroredCompilationError: |
| 626 library = Library::MirrorsLibrary(); | 626 library = Library::MirrorsLibrary(); |
| 627 class_name = &Symbols::MirroredCompilationError(); | 627 class_name = &Symbols::MirroredCompilationError(); |
| 628 break; | 628 break; |
| 629 } | 629 } |
| 630 | 630 |
| 631 return DartLibraryCalls::ExceptionCreate(library, | 631 return DartLibraryCalls::InstanceCreate(library, |
| 632 *class_name, | 632 *class_name, |
| 633 *constructor_name, | 633 *constructor_name, |
| 634 arguments); | 634 arguments); |
| 635 } | 635 } |
| 636 | 636 |
| 637 } // namespace dart | 637 } // namespace dart |
| OLD | NEW |