| OLD | NEW |
| 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2012, 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/globals.h" // Needed here to get TARGET_ARCH_IA32. | 5 #include "vm/globals.h" // Needed here to get TARGET_ARCH_IA32. |
| 6 #if defined(TARGET_ARCH_IA32) | 6 #if defined(TARGET_ARCH_IA32) |
| 7 | 7 |
| 8 #include "vm/flow_graph_compiler.h" | 8 #include "vm/flow_graph_compiler.h" |
| 9 | 9 |
| 10 #include "vm/ast_printer.h" | 10 #include "vm/ast_printer.h" |
| 11 #include "vm/compiler_stats.h" | 11 #include "vm/compiler_stats.h" |
| 12 #include "vm/debugger.h" | 12 #include "vm/debugger.h" |
| 13 #include "vm/il_printer.h" | 13 #include "vm/il_printer.h" |
| 14 #include "vm/intrinsifier.h" | 14 #include "vm/intrinsifier.h" |
| 15 #include "vm/locations.h" | 15 #include "vm/locations.h" |
| 16 #include "vm/longjump.h" | 16 #include "vm/longjump.h" |
| 17 #include "vm/stub_code.h" | 17 #include "vm/stub_code.h" |
| 18 | 18 |
| 19 namespace dart { | 19 namespace dart { |
| 20 | 20 |
| 21 DECLARE_FLAG(bool, code_comments); | 21 DECLARE_FLAG(bool, code_comments); |
| 22 DECLARE_FLAG(bool, compiler_stats); | 22 DECLARE_FLAG(bool, compiler_stats); |
| 23 DECLARE_FLAG(bool, enable_type_checks); | 23 DECLARE_FLAG(bool, enable_type_checks); |
| 24 DECLARE_FLAG(bool, intrinsify); | 24 DECLARE_FLAG(bool, intrinsify); |
| 25 DECLARE_FLAG(bool, optimization_counter_threshold); | 25 DECLARE_FLAG(int, optimization_counter_threshold); |
| 26 DECLARE_FLAG(bool, print_ast); | 26 DECLARE_FLAG(bool, print_ast); |
| 27 DECLARE_FLAG(bool, print_scopes); | 27 DECLARE_FLAG(bool, print_scopes); |
| 28 DECLARE_FLAG(bool, report_usage_count); | 28 DECLARE_FLAG(bool, report_usage_count); |
| 29 DECLARE_FLAG(bool, trace_functions); | 29 DECLARE_FLAG(bool, trace_functions); |
| 30 | 30 |
| 31 | 31 |
| 32 class DeoptimizationStub : public ZoneAllocated { | 32 class DeoptimizationStub : public ZoneAllocated { |
| 33 public: | 33 public: |
| 34 DeoptimizationStub(intptr_t deopt_id, | 34 DeoptimizationStub(intptr_t deopt_id, |
| 35 intptr_t deopt_token_index, | 35 intptr_t deopt_token_index, |
| (...skipping 456 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 492 | 492 |
| 493 void FlowGraphCompiler::FinalizeComments(const Code& code) { | 493 void FlowGraphCompiler::FinalizeComments(const Code& code) { |
| 494 code.set_comments(assembler_->GetCodeComments()); | 494 code.set_comments(assembler_->GetCodeComments()); |
| 495 } | 495 } |
| 496 | 496 |
| 497 #undef __ | 497 #undef __ |
| 498 | 498 |
| 499 } // namespace dart | 499 } // namespace dart |
| 500 | 500 |
| 501 #endif // defined TARGET_ARCH_IA32 | 501 #endif // defined TARGET_ARCH_IA32 |
| OLD | NEW |