OLD | NEW |
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 300 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
311 | 311 |
312 void DropFunctions(); | 312 void DropFunctions(); |
313 void DropFields(); | 313 void DropFields(); |
314 void TraceTypesFromRetainedClasses(); | 314 void TraceTypesFromRetainedClasses(); |
315 void DropTypes(); | 315 void DropTypes(); |
316 void DropTypeArguments(); | 316 void DropTypeArguments(); |
317 void DropClasses(); | 317 void DropClasses(); |
318 void DropLibraries(); | 318 void DropLibraries(); |
319 | 319 |
320 void BindStaticCalls(); | 320 void BindStaticCalls(); |
| 321 void SwitchICCalls(); |
321 void DedupStackmaps(); | 322 void DedupStackmaps(); |
322 void DedupStackmapLists(); | 323 void DedupStackmapLists(); |
323 void DedupInstructions(); | 324 void DedupInstructions(); |
324 void ResetPrecompilerState(); | 325 void ResetPrecompilerState(); |
325 | 326 |
326 void CollectDynamicFunctionNames(); | 327 void CollectDynamicFunctionNames(); |
327 | 328 |
328 class FunctionVisitor : public ValueObject { | 329 class FunctionVisitor : public ValueObject { |
329 public: | 330 public: |
330 virtual ~FunctionVisitor() {} | 331 virtual ~FunctionVisitor() {} |
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
392 return function.raw(); | 393 return function.raw(); |
393 } | 394 } |
394 }; | 395 }; |
395 | 396 |
396 typedef UnorderedHashSet<FunctionsTraits> UniqueFunctionsSet; | 397 typedef UnorderedHashSet<FunctionsTraits> UniqueFunctionsSet; |
397 | 398 |
398 | 399 |
399 } // namespace dart | 400 } // namespace dart |
400 | 401 |
401 #endif // VM_PRECOMPILER_H_ | 402 #endif // VM_PRECOMPILER_H_ |
OLD | NEW |