| OLD | NEW |
| 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 Loading... |
| 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 Loading... |
| 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 |
| OLD | NEW |