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

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

Issue 10035006: Share intrinsification framework across architectures, started on instrinsification in the new comp… (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 8 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/code_generator_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/code_generator.h" 8 #include "vm/code_generator.h"
9 9
10 #include "lib/error.h" 10 #include "lib/error.h"
11 #include "vm/ast_printer.h" 11 #include "vm/ast_printer.h"
12 #include "vm/class_finalizer.h" 12 #include "vm/class_finalizer.h"
13 #include "vm/code_descriptors.h" 13 #include "vm/code_descriptors.h"
14 #include "vm/dart_entry.h" 14 #include "vm/dart_entry.h"
15 #include "vm/debugger.h" 15 #include "vm/debugger.h"
16 #include "vm/intrinsifier.h" 16 #include "vm/intrinsifier.h"
17 #include "vm/longjump.h" 17 #include "vm/longjump.h"
18 #include "vm/object.h" 18 #include "vm/object.h"
19 #include "vm/object_store.h" 19 #include "vm/object_store.h"
20 #include "vm/parser.h" 20 #include "vm/parser.h"
21 #include "vm/resolver.h" 21 #include "vm/resolver.h"
22 #include "vm/stub_code.h" 22 #include "vm/stub_code.h"
23 23
24 namespace dart { 24 namespace dart {
25 25
26 DEFINE_FLAG(bool, print_ast, false, "Print abstract syntax tree."); 26 DECLARE_FLAG(bool, print_ast);
27 DEFINE_FLAG(bool, print_scopes, false, "Print scopes of local variables."); 27 DEFINE_FLAG(bool, print_scopes, false, "Print scopes of local variables.");
28 DEFINE_FLAG(bool, trace_functions, false, "Trace entry of each function."); 28 DEFINE_FLAG(bool, trace_functions, false, "Trace entry of each function.");
29 DEFINE_FLAG(bool, print_ic_in_optimized, false, 29 DEFINE_FLAG(bool, print_ic_in_optimized, false,
30 "Debugging helper to identify potential performance pitfalls."); 30 "Debugging helper to identify potential performance pitfalls.");
31 DECLARE_FLAG(int, optimization_counter_threshold); 31 DECLARE_FLAG(int, optimization_counter_threshold);
32 DECLARE_FLAG(bool, enable_type_checks); 32 DECLARE_FLAG(bool, enable_type_checks);
33 DECLARE_FLAG(bool, trace_compiler); 33 DECLARE_FLAG(bool, trace_compiler);
34 DECLARE_FLAG(bool, intrinsify); 34 DECLARE_FLAG(bool, intrinsify);
35 DECLARE_FLAG(bool, trace_functions); 35 DECLARE_FLAG(bool, trace_functions);
36 36
(...skipping 2854 matching lines...) Expand 10 before | Expand all | Expand 10 after
2891 const Error& error = Error::Handle( 2891 const Error& error = Error::Handle(
2892 Parser::FormatError(script, token_index, "Error", format, args)); 2892 Parser::FormatError(script, token_index, "Error", format, args));
2893 va_end(args); 2893 va_end(args);
2894 Isolate::Current()->long_jump_base()->Jump(1, error); 2894 Isolate::Current()->long_jump_base()->Jump(1, error);
2895 UNREACHABLE(); 2895 UNREACHABLE();
2896 } 2896 }
2897 2897
2898 } // namespace dart 2898 } // namespace dart
2899 2899
2900 #endif // defined TARGET_ARCH_IA32 2900 #endif // defined TARGET_ARCH_IA32
OLDNEW
« no previous file with comments | « no previous file | runtime/vm/code_generator_x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698