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

Side by Side Diff: runtime/vm/code_generator_ia32.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, 5 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.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/code_generator.h" 8 #include "vm/code_generator.h"
9 9
10 #include "lib/error.h" 10 #include "lib/error.h"
11 #include "vm/assembler_macros.h" 11 #include "vm/assembler_macros.h"
12 #include "vm/ast_printer.h" 12 #include "vm/ast_printer.h"
13 #include "vm/class_finalizer.h" 13 #include "vm/class_finalizer.h"
14 #include "vm/code_descriptors.h" 14 #include "vm/code_descriptors.h"
15 #include "vm/dart_entry.h" 15 #include "vm/dart_entry.h"
16 #include "vm/debugger.h" 16 #include "vm/debugger.h"
17 #include "vm/intrinsifier.h" 17 #include "vm/intrinsifier.h"
18 #include "vm/longjump.h" 18 #include "vm/longjump.h"
19 #include "vm/object.h" 19 #include "vm/object.h"
20 #include "vm/object_store.h" 20 #include "vm/object_store.h"
21 #include "vm/parser.h" 21 #include "vm/parser.h"
22 #include "vm/resolver.h" 22 #include "vm/resolver.h"
23 #include "vm/stub_code.h" 23 #include "vm/stub_code.h"
24 24
25 namespace dart { 25 namespace dart {
26 26
27 DECLARE_FLAG(bool, print_ast); 27 DECLARE_FLAG(bool, print_ast);
28 DEFINE_FLAG(bool, print_scopes, false, "Print scopes of local variables."); 28 DECLARE_FLAG(bool, print_scopes);
29 DEFINE_FLAG(bool, trace_functions, false, "Trace entry of each function."); 29 DECLARE_FLAG(bool, trace_functions);
30 DEFINE_FLAG(bool, print_ic_in_optimized, false, 30 DEFINE_FLAG(bool, print_ic_in_optimized, false,
31 "Debugging helper to identify potential performance pitfalls."); 31 "Debugging helper to identify potential performance pitfalls.");
32 DECLARE_FLAG(int, optimization_counter_threshold); 32 DECLARE_FLAG(int, optimization_counter_threshold);
33 DECLARE_FLAG(bool, enable_type_checks); 33 DECLARE_FLAG(bool, enable_type_checks);
34 DECLARE_FLAG(bool, trace_compiler); 34 DECLARE_FLAG(bool, trace_compiler);
35 DECLARE_FLAG(bool, intrinsify); 35 DECLARE_FLAG(bool, intrinsify);
36 DECLARE_FLAG(bool, trace_functions); 36 DECLARE_FLAG(bool, trace_functions);
37 37
38 38
39 #define __ assembler_-> 39 #define __ assembler_->
(...skipping 2930 matching lines...) Expand 10 before | Expand all | Expand 10 after
2970 const Error& error = Error::Handle( 2970 const Error& error = Error::Handle(
2971 Parser::FormatError(script, token_pos, "Error", format, args)); 2971 Parser::FormatError(script, token_pos, "Error", format, args));
2972 va_end(args); 2972 va_end(args);
2973 Isolate::Current()->long_jump_base()->Jump(1, error); 2973 Isolate::Current()->long_jump_base()->Jump(1, error);
2974 UNREACHABLE(); 2974 UNREACHABLE();
2975 } 2975 }
2976 2976
2977 } // namespace dart 2977 } // namespace dart
2978 2978
2979 #endif // defined TARGET_ARCH_IA32 2979 #endif // defined TARGET_ARCH_IA32
OLDNEW
« no previous file with comments | « no previous file | runtime/vm/flow_graph_compiler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698