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

Side by Side Diff: runtime/vm/flow_graph_compiler_ia32.cc

Issue 10459053: Real fix for breakage: if type in DECLARE_FLAG differs from DEFINE_FLAG, windows compiler is the on… (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 6 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | runtime/vm/flow_graph_compiler_x64.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
OLDNEW
« no previous file with comments | « no previous file | runtime/vm/flow_graph_compiler_x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698