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

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

Issue 2202773002: AOT: Faster invocation of callback fields. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 4 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 | « no previous file | runtime/vm/precompiler.cc » ('j') | runtime/vm/precompiler.cc » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2015, 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_PRECOMPILER_H_ 5 #ifndef VM_PRECOMPILER_H_
6 #define VM_PRECOMPILER_H_ 6 #define VM_PRECOMPILER_H_
7 7
8 #include "vm/allocation.h" 8 #include "vm/allocation.h"
9 #include "vm/hash_map.h" 9 #include "vm/hash_map.h"
10 #include "vm/hash_table.h" 10 #include "vm/hash_table.h"
(...skipping 281 matching lines...) Expand 10 before | Expand all | Expand 10 after
292 void AddClosureCall(const ICData& call_site); 292 void AddClosureCall(const ICData& call_site);
293 void AddField(const Field& field); 293 void AddField(const Field& field);
294 void AddFunction(const Function& function); 294 void AddFunction(const Function& function);
295 void AddInstantiatedClass(const Class& cls); 295 void AddInstantiatedClass(const Class& cls);
296 void AddSelector(const String& selector); 296 void AddSelector(const String& selector);
297 bool IsSent(const String& selector); 297 bool IsSent(const String& selector);
298 298
299 void ProcessFunction(const Function& function); 299 void ProcessFunction(const Function& function);
300 void CheckForNewDynamicFunctions(); 300 void CheckForNewDynamicFunctions();
301 void TraceConstFunctions(); 301 void TraceConstFunctions();
302 void CollectCallbackFields();
302 303
303 void TraceForRetainedFunctions(); 304 void TraceForRetainedFunctions();
304 void DropFunctions(); 305 void DropFunctions();
305 void DropFields(); 306 void DropFields();
306 void TraceTypesFromRetainedClasses(); 307 void TraceTypesFromRetainedClasses();
307 void DropTypes(); 308 void DropTypes();
308 void DropTypeArguments(); 309 void DropTypeArguments();
309 void DropScriptData(); 310 void DropScriptData();
310 void DropClasses(); 311 void DropClasses();
311 void DropLibraries(); 312 void DropLibraries();
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
396 return function.raw(); 397 return function.raw();
397 } 398 }
398 }; 399 };
399 400
400 typedef UnorderedHashSet<FunctionsTraits> UniqueFunctionsSet; 401 typedef UnorderedHashSet<FunctionsTraits> UniqueFunctionsSet;
401 402
402 403
403 } // namespace dart 404 } // namespace dart
404 405
405 #endif // VM_PRECOMPILER_H_ 406 #endif // VM_PRECOMPILER_H_
OLDNEW
« no previous file with comments | « no previous file | runtime/vm/precompiler.cc » ('j') | runtime/vm/precompiler.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698