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

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

Issue 839273002: Fix mac x64 debug build by using fixed-length encoding. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 5 years, 11 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/assembler_x64.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) 2013, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2013, 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/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"
(...skipping 1270 matching lines...) Expand 10 before | Expand all | Expand 10 after
1281 expected); 1281 expected);
1282 } 1282 }
1283 #endif // DEBUG 1283 #endif // DEBUG
1284 } 1284 }
1285 1285
1286 1286
1287 int32_t FlowGraphCompiler::EdgeCounterIncrementSizeInBytes() { 1287 int32_t FlowGraphCompiler::EdgeCounterIncrementSizeInBytes() {
1288 // Used by CodePatcher; so must be constant across all code in an isolate. 1288 // Used by CodePatcher; so must be constant across all code in an isolate.
1289 int32_t size = 5; 1289 int32_t size = 5;
1290 #if defined(DEBUG) 1290 #if defined(DEBUG)
1291 size += 33; // VerifySmi 1291 size += 36; // VerifySmi
1292 #endif // DEBUG 1292 #endif // DEBUG
1293 if (VerifiedMemory::enabled()) { 1293 if (VerifiedMemory::enabled()) {
1294 size += 72; 1294 size += 72;
1295 } 1295 }
1296 return size; 1296 return size;
1297 } 1297 }
1298 1298
1299 1299
1300 void FlowGraphCompiler::EmitOptimizedInstanceCall( 1300 void FlowGraphCompiler::EmitOptimizedInstanceCall(
1301 ExternalLabel* target_label, 1301 ExternalLabel* target_label,
(...skipping 511 matching lines...) Expand 10 before | Expand all | Expand 10 after
1813 __ movups(reg, Address(RSP, 0)); 1813 __ movups(reg, Address(RSP, 0));
1814 __ AddImmediate(RSP, Immediate(kFpuRegisterSize), PP); 1814 __ AddImmediate(RSP, Immediate(kFpuRegisterSize), PP);
1815 } 1815 }
1816 1816
1817 1817
1818 #undef __ 1818 #undef __
1819 1819
1820 } // namespace dart 1820 } // namespace dart
1821 1821
1822 #endif // defined TARGET_ARCH_X64 1822 #endif // defined TARGET_ARCH_X64
OLDNEW
« no previous file with comments | « runtime/vm/assembler_x64.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698