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

Side by Side Diff: runtime/vm/resolver.h

Issue 1870343002: - Refactor Symbol allocation to expect a thread parameter. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Address review feedback. Created 4 years, 8 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/report.cc ('k') | runtime/vm/resolver.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 #ifndef VM_RESOLVER_H_ 5 #ifndef VM_RESOLVER_H_
6 #define VM_RESOLVER_H_ 6 #define VM_RESOLVER_H_
7 7
8 #include "vm/allocation.h" 8 #include "vm/allocation.h"
9 9
10 namespace dart { 10 namespace dart {
(...skipping 19 matching lines...) Expand all
30 30
31 // If 'allow_add' is true we may add a function to the class during lookup. 31 // If 'allow_add' is true we may add a function to the class during lookup.
32 static RawFunction* ResolveDynamicForReceiverClass( 32 static RawFunction* ResolveDynamicForReceiverClass(
33 const Class& receiver_class, 33 const Class& receiver_class,
34 const String& function_name, 34 const String& function_name,
35 const ArgumentsDescriptor& args_desc, 35 const ArgumentsDescriptor& args_desc,
36 bool allow_add = true); 36 bool allow_add = true);
37 37
38 // If 'allow_add' is true we may add a function to the class during lookup. 38 // If 'allow_add' is true we may add a function to the class during lookup.
39 static RawFunction* ResolveDynamicAnyArgs( 39 static RawFunction* ResolveDynamicAnyArgs(
40 Zone* zone,
40 const Class& receiver_class, 41 const Class& receiver_class,
41 const String& function_name, 42 const String& function_name,
42 bool allow_add = true); 43 bool allow_add = true);
43 44
44 // Resolve specified dart static function. If library.IsNull, use 45 // Resolve specified dart static function. If library.IsNull, use
45 // either application library or core library if no application library 46 // either application library or core library if no application library
46 // exists. Passing negative num_arguments means that the function 47 // exists. Passing negative num_arguments means that the function
47 // will be resolved by name only. 48 // will be resolved by name only.
48 // Otherwise null is returned if the number or names of arguments are not 49 // Otherwise null is returned if the number or names of arguments are not
49 // valid for the resolved function. 50 // valid for the resolved function.
(...skipping 14 matching lines...) Expand all
64 // public and private functions. 65 // public and private functions.
65 static RawFunction* ResolveStaticAllowPrivate(const Class& cls, 66 static RawFunction* ResolveStaticAllowPrivate(const Class& cls,
66 const String& function_name, 67 const String& function_name,
67 intptr_t num_arguments, 68 intptr_t num_arguments,
68 const Array& argument_names); 69 const Array& argument_names);
69 }; 70 };
70 71
71 } // namespace dart 72 } // namespace dart
72 73
73 #endif // VM_RESOLVER_H_ 74 #endif // VM_RESOLVER_H_
OLDNEW
« no previous file with comments | « runtime/vm/report.cc ('k') | runtime/vm/resolver.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698