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

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

Issue 10636038: Minimize differences between ia32 and x64 sources to facilitate maintenance. (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 | « runtime/vm/code_generator_ia32.cc ('k') | runtime/vm/flow_graph_compiler_ia32.h » ('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_XXX. 5 #include "vm/globals.h" // Needed here to get TARGET_ARCH_XXX.
6 6
7 #include "vm/flow_graph_compiler.h" 7 #include "vm/flow_graph_compiler.h"
8 8
9 #include "vm/debugger.h" 9 #include "vm/debugger.h"
10 #include "vm/il_printer.h" 10 #include "vm/il_printer.h"
11 #include "vm/intrinsifier.h" 11 #include "vm/intrinsifier.h"
12 #include "vm/locations.h" 12 #include "vm/locations.h"
13 #include "vm/longjump.h" 13 #include "vm/longjump.h"
14 #include "vm/object_store.h" 14 #include "vm/object_store.h"
15 #include "vm/parser.h" 15 #include "vm/parser.h"
16 #include "vm/stub_code.h" 16 #include "vm/stub_code.h"
17 17
18 namespace dart { 18 namespace dart {
19 19
20 DEFINE_FLAG(bool, print_scopes, false, "Print scopes of local variables.");
21 DEFINE_FLAG(bool, trace_functions, false, "Trace entry of each function.");
20 DECLARE_FLAG(bool, code_comments); 22 DECLARE_FLAG(bool, code_comments);
21 DECLARE_FLAG(bool, enable_type_checks); 23 DECLARE_FLAG(bool, enable_type_checks);
22 DECLARE_FLAG(bool, intrinsify); 24 DECLARE_FLAG(bool, intrinsify);
23 DECLARE_FLAG(bool, report_usage_count); 25 DECLARE_FLAG(bool, report_usage_count);
24 DECLARE_FLAG(bool, trace_functions); 26 DECLARE_FLAG(bool, trace_functions);
25 DECLARE_FLAG(int, optimization_counter_threshold); 27 DECLARE_FLAG(int, optimization_counter_threshold);
26 28
27 29
28 FlowGraphCompiler::FlowGraphCompiler( 30 FlowGraphCompiler::FlowGraphCompiler(
29 Assembler* assembler, 31 Assembler* assembler,
(...skipping 579 matching lines...) Expand 10 before | Expand all | Expand 10 after
609 611
610 612
611 void FrameRegisterAllocator::SpillInDeoptStub(DeoptimizationStub* stub) { 613 void FrameRegisterAllocator::SpillInDeoptStub(DeoptimizationStub* stub) {
612 for (int i = 0; i < stack_.length(); i++) { 614 for (int i = 0; i < stack_.length(); i++) {
613 stub->Push(stack_[i]); 615 stub->Push(stack_[i]);
614 } 616 }
615 } 617 }
616 618
617 619
618 } // namespace dart 620 } // namespace dart
OLDNEW
« no previous file with comments | « runtime/vm/code_generator_ia32.cc ('k') | runtime/vm/flow_graph_compiler_ia32.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698