OLD | NEW |
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 #include "vm/parser.h" | 5 #include "vm/parser.h" |
6 #include "vm/flags.h" | 6 #include "vm/flags.h" |
7 | 7 |
8 #ifndef DART_PRECOMPILED_RUNTIME | 8 #ifndef DART_PRECOMPILED_RUNTIME |
9 | 9 |
10 #include "lib/invocation_mirror.h" | 10 #include "lib/invocation_mirror.h" |
(...skipping 11842 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
11853 Error::Handle(Z), // No previous error. | 11853 Error::Handle(Z), // No previous error. |
11854 script_, | 11854 script_, |
11855 parameterized_type, | 11855 parameterized_type, |
11856 "type '%s' is not loaded", | 11856 "type '%s' is not loaded", |
11857 String::Handle(Z, parameterized_type.UserVisibleName()).ToCString()); | 11857 String::Handle(Z, parameterized_type.UserVisibleName()).ToCString()); |
11858 return; | 11858 return; |
11859 } | 11859 } |
11860 } | 11860 } |
11861 // Resolve type arguments, if any. | 11861 // Resolve type arguments, if any. |
11862 const TypeArguments& arguments = TypeArguments::Handle(Z, type->arguments()); | 11862 const TypeArguments& arguments = TypeArguments::Handle(Z, type->arguments()); |
11863 TypeArguments::Handle(Z, type->arguments()); | |
11864 if (!arguments.IsNull()) { | 11863 if (!arguments.IsNull()) { |
11865 const intptr_t num_arguments = arguments.Length(); | 11864 const intptr_t num_arguments = arguments.Length(); |
11866 for (intptr_t i = 0; i < num_arguments; i++) { | 11865 for (intptr_t i = 0; i < num_arguments; i++) { |
11867 AbstractType& type_argument = AbstractType::Handle(Z, | 11866 AbstractType& type_argument = AbstractType::Handle(Z, |
11868 arguments.TypeAt(i)); | 11867 arguments.TypeAt(i)); |
11869 ResolveTypeFromClass(scope_class, finalization, &type_argument); | 11868 ResolveTypeFromClass(scope_class, finalization, &type_argument); |
11870 arguments.SetTypeAt(i, type_argument); | 11869 arguments.SetTypeAt(i, type_argument); |
11871 } | 11870 } |
11872 } | 11871 } |
11873 } | 11872 } |
(...skipping 2574 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
14448 const ArgumentListNode& function_args, | 14447 const ArgumentListNode& function_args, |
14449 const LocalVariable* temp_for_last_arg, | 14448 const LocalVariable* temp_for_last_arg, |
14450 bool is_super_invocation) { | 14449 bool is_super_invocation) { |
14451 UNREACHABLE(); | 14450 UNREACHABLE(); |
14452 return NULL; | 14451 return NULL; |
14453 } | 14452 } |
14454 | 14453 |
14455 } // namespace dart | 14454 } // namespace dart |
14456 | 14455 |
14457 #endif // DART_PRECOMPILED_RUNTIME | 14456 #endif // DART_PRECOMPILED_RUNTIME |
OLD | NEW |