| 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 #include "vm/program_visitor.h" | 5 #include "vm/program_visitor.h" |
| 6 | 6 |
| 7 #include "vm/deopt_instructions.h" | 7 #include "vm/deopt_instructions.h" |
| 8 #include "vm/hash_map.h" | 8 #include "vm/hash_map.h" |
| 9 #include "vm/object.h" | 9 #include "vm/object.h" |
| 10 #include "vm/object_store.h" | 10 #include "vm/object_store.h" |
| (...skipping 580 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 591 | 591 |
| 592 // TODO(rmacnak): Bind static calls whose target has been compiled. Forward | 592 // TODO(rmacnak): Bind static calls whose target has been compiled. Forward |
| 593 // references to disabled code. | 593 // references to disabled code. |
| 594 ShareMegamorphicBuckets(); | 594 ShareMegamorphicBuckets(); |
| 595 DedupStackMaps(); | 595 DedupStackMaps(); |
| 596 DedupPcDescriptors(); | 596 DedupPcDescriptors(); |
| 597 NOT_IN_PRECOMPILED(DedupDeoptEntries()); | 597 NOT_IN_PRECOMPILED(DedupDeoptEntries()); |
| 598 DedupCodeSourceMaps(); | 598 DedupCodeSourceMaps(); |
| 599 DedupLists(); | 599 DedupLists(); |
| 600 | 600 |
| 601 #if defined(PRODUCT) | 601 if (!FLAG_profiler) { |
| 602 // Reduces binary size but obfuscates profiler results. | 602 // Reduces binary size but obfuscates profiler results. |
| 603 DedupInstructions(); | 603 DedupInstructions(); |
| 604 #endif | 604 } |
| 605 } | 605 } |
| 606 | 606 |
| 607 } // namespace dart | 607 } // namespace dart |
| OLD | NEW |