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

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

Issue 2326483005: Shrink AOT snapshot size and memory usage. (Closed)
Patch Set: . Created 4 years, 3 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
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 365 matching lines...) Expand 10 before | Expand all | Expand 10 after
376 void TraceTypesFromRetainedClasses(); 376 void TraceTypesFromRetainedClasses();
377 void DropTypes(); 377 void DropTypes();
378 void DropTypeArguments(); 378 void DropTypeArguments();
379 void DropScriptData(); 379 void DropScriptData();
380 void DropClasses(); 380 void DropClasses();
381 void DropLibraries(); 381 void DropLibraries();
382 382
383 void BindStaticCalls(); 383 void BindStaticCalls();
384 void SwitchICCalls(); 384 void SwitchICCalls();
385 void DedupStackmaps(); 385 void DedupStackmaps();
386 void DedupStackmapLists(); 386 void DedupLists();
387 void DedupInstructions(); 387 void DedupInstructions();
388 void ResetPrecompilerState(); 388 void ResetPrecompilerState();
389 389
390 void CollectDynamicFunctionNames(); 390 void CollectDynamicFunctionNames();
391 391
392 void PrecompileStaticInitializers(); 392 void PrecompileStaticInitializers();
393 void PrecompileConstructors(); 393 void PrecompileConstructors();
394 394
395 template<typename T> 395 template<typename T>
396 class Visitor : public ValueObject { 396 class Visitor : public ValueObject {
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
470 return function.raw(); 470 return function.raw();
471 } 471 }
472 }; 472 };
473 473
474 typedef UnorderedHashSet<FunctionsTraits> UniqueFunctionsSet; 474 typedef UnorderedHashSet<FunctionsTraits> UniqueFunctionsSet;
475 475
476 476
477 } // namespace dart 477 } // namespace dart
478 478
479 #endif // VM_PRECOMPILER_H_ 479 #endif // VM_PRECOMPILER_H_
OLDNEW
« runtime/vm/object.cc ('K') | « runtime/vm/object.cc ('k') | runtime/vm/precompiler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698