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 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 413 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
424 Zone* zone() const { return zone_; } | 424 Zone* zone() const { return zone_; } |
425 Isolate* isolate() const { return isolate_; } | 425 Isolate* isolate() const { return isolate_; } |
426 | 426 |
427 Thread* thread_; | 427 Thread* thread_; |
428 Zone* zone_; | 428 Zone* zone_; |
429 Isolate* isolate_; | 429 Isolate* isolate_; |
430 | 430 |
431 ParsedJSONObject* jit_feedback_; | 431 ParsedJSONObject* jit_feedback_; |
432 | 432 |
433 bool changed_; | 433 bool changed_; |
| 434 bool retain_root_library_caches_; |
434 intptr_t function_count_; | 435 intptr_t function_count_; |
435 intptr_t class_count_; | 436 intptr_t class_count_; |
436 intptr_t selector_count_; | 437 intptr_t selector_count_; |
437 intptr_t dropped_function_count_; | 438 intptr_t dropped_function_count_; |
438 intptr_t dropped_field_count_; | 439 intptr_t dropped_field_count_; |
439 intptr_t dropped_class_count_; | 440 intptr_t dropped_class_count_; |
440 intptr_t dropped_typearg_count_; | 441 intptr_t dropped_typearg_count_; |
441 intptr_t dropped_type_count_; | 442 intptr_t dropped_type_count_; |
442 intptr_t dropped_library_count_; | 443 intptr_t dropped_library_count_; |
443 | 444 |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
485 } | 486 } |
486 static RawObject* NewKey(const Function& function) { return function.raw(); } | 487 static RawObject* NewKey(const Function& function) { return function.raw(); } |
487 }; | 488 }; |
488 | 489 |
489 typedef UnorderedHashSet<FunctionsTraits> UniqueFunctionsSet; | 490 typedef UnorderedHashSet<FunctionsTraits> UniqueFunctionsSet; |
490 | 491 |
491 | 492 |
492 } // namespace dart | 493 } // namespace dart |
493 | 494 |
494 #endif // RUNTIME_VM_PRECOMPILER_H_ | 495 #endif // RUNTIME_VM_PRECOMPILER_H_ |
OLD | NEW |