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

Side by Side Diff: runtime/vm/intermediate_language_x64.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 | « runtime/vm/intermediate_language_ia32.cc ('k') | no next file » | 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_X64. 5 #include "vm/globals.h" // Needed here to get TARGET_ARCH_X64.
6 #if defined(TARGET_ARCH_X64) 6 #if defined(TARGET_ARCH_X64)
7 7
8 #include "vm/intermediate_language.h"
9
8 #include "lib/error.h" 10 #include "lib/error.h"
9 #include "vm/flow_graph_compiler.h" 11 #include "vm/flow_graph_compiler.h"
10 #include "vm/locations.h" 12 #include "vm/locations.h"
11 #include "vm/object_store.h" 13 #include "vm/object_store.h"
12 #include "vm/parser.h" 14 #include "vm/parser.h"
13 #include "vm/stub_code.h" 15 #include "vm/stub_code.h"
14 16
15 #define __ compiler->assembler()-> 17 #define __ compiler->assembler()->
16 18
17 namespace dart { 19 namespace dart {
18 20
19 DECLARE_FLAG(bool, optimization_counter_threshold); 21 DECLARE_FLAG(int, optimization_counter_threshold);
20 DECLARE_FLAG(bool, trace_functions); 22 DECLARE_FLAG(bool, trace_functions);
21 23
22 24
23 // True iff. the arguments to a call will be properly pushed and can 25 // True iff. the arguments to a call will be properly pushed and can
24 // be popped after the call. 26 // be popped after the call.
25 template <typename T> static bool VerifyCallComputation(T* comp) { 27 template <typename T> static bool VerifyCallComputation(T* comp) {
26 // Argument values should be consecutive temps. 28 // Argument values should be consecutive temps.
27 // 29 //
28 // TODO(kmillikin): implement stack height tracking so we can also assert 30 // TODO(kmillikin): implement stack height tracking so we can also assert
29 // they are on top of the stack. 31 // they are on top of the stack.
(...skipping 1266 matching lines...) Expand 10 before | Expand all | Expand 10 after
1296 if (locs()->out().reg() != RAX) { 1298 if (locs()->out().reg() != RAX) {
1297 __ movq(locs()->out().reg(), RAX); 1299 __ movq(locs()->out().reg(), RAX);
1298 } 1300 }
1299 } 1301 }
1300 1302
1301 } // namespace dart 1303 } // namespace dart
1302 1304
1303 #undef __ 1305 #undef __
1304 1306
1305 #endif // defined TARGET_ARCH_X64 1307 #endif // defined TARGET_ARCH_X64
OLDNEW
« no previous file with comments | « runtime/vm/intermediate_language_ia32.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698