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

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

Issue 2823873003: Tree shaker: (Closed)
Patch Set: . Created 3 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
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 RUNTIME_VM_PRECOMPILER_H_ 5 #ifndef RUNTIME_VM_PRECOMPILER_H_
6 #define RUNTIME_VM_PRECOMPILER_H_ 6 #define RUNTIME_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 384 matching lines...) Expand 10 before | Expand all | Expand 10 after
395 void TraceConstFunctions(); 395 void TraceConstFunctions();
396 void CollectCallbackFields(); 396 void CollectCallbackFields();
397 397
398 void TraceForRetainedFunctions(); 398 void TraceForRetainedFunctions();
399 void DropFunctions(); 399 void DropFunctions();
400 void DropFields(); 400 void DropFields();
401 void TraceTypesFromRetainedClasses(); 401 void TraceTypesFromRetainedClasses();
402 void DropTypes(); 402 void DropTypes();
403 void DropTypeArguments(); 403 void DropTypeArguments();
404 void DropScriptData(); 404 void DropScriptData();
405 void DropLibraryEntries();
405 void DropClasses(); 406 void DropClasses();
406 void DropLibraries(); 407 void DropLibraries();
407 408
408 void BindStaticCalls(); 409 void BindStaticCalls();
409 void SwitchICCalls(); 410 void SwitchICCalls();
410 void ResetPrecompilerState(); 411 void ResetPrecompilerState();
411 412
412 void CollectDynamicFunctionNames(); 413 void CollectDynamicFunctionNames();
413 414
414 void PrecompileStaticInitializers(); 415 void PrecompileStaticInitializers();
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
484 } 485 }
485 static RawObject* NewKey(const Function& function) { return function.raw(); } 486 static RawObject* NewKey(const Function& function) { return function.raw(); }
486 }; 487 };
487 488
488 typedef UnorderedHashSet<FunctionsTraits> UniqueFunctionsSet; 489 typedef UnorderedHashSet<FunctionsTraits> UniqueFunctionsSet;
489 490
490 491
491 } // namespace dart 492 } // namespace dart
492 493
493 #endif // RUNTIME_VM_PRECOMPILER_H_ 494 #endif // RUNTIME_VM_PRECOMPILER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698