| OLD | NEW |
| 1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2014, 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_ARM64. | 5 #include "vm/globals.h" // Needed here to get TARGET_ARCH_ARM64. |
| 6 #if defined(TARGET_ARCH_ARM64) | 6 #if defined(TARGET_ARCH_ARM64) |
| 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 383 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 394 } | 394 } |
| 395 | 395 |
| 396 | 396 |
| 397 void FlowGraphCompiler::GenerateInlinedSetter(intptr_t offset) { | 397 void FlowGraphCompiler::GenerateInlinedSetter(intptr_t offset) { |
| 398 UNIMPLEMENTED(); | 398 UNIMPLEMENTED(); |
| 399 } | 399 } |
| 400 | 400 |
| 401 | 401 |
| 402 void FlowGraphCompiler::EmitFrameEntry() { | 402 void FlowGraphCompiler::EmitFrameEntry() { |
| 403 const Function& function = parsed_function().function(); | 403 const Function& function = parsed_function().function(); |
| 404 Register new_pp = kNoRegister; | 404 Register new_pp = kNoPP; |
| 405 if (CanOptimizeFunction() && | 405 if (CanOptimizeFunction() && |
| 406 function.IsOptimizable() && | 406 function.IsOptimizable() && |
| 407 (!is_optimizing() || may_reoptimize())) { | 407 (!is_optimizing() || may_reoptimize())) { |
| 408 const Register function_reg = R6; | 408 const Register function_reg = R6; |
| 409 new_pp = R13; | 409 new_pp = R13; |
| 410 | 410 |
| 411 // Set up pool pointer in new_pp. | 411 // Set up pool pointer in new_pp. |
| 412 __ LoadPoolPointer(new_pp); | 412 __ LoadPoolPointer(new_pp); |
| 413 | 413 |
| 414 // Load function object using the callee's pool pointer. | 414 // Load function object using the callee's pool pointer. |
| (...skipping 490 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 905 void ParallelMoveResolver::RestoreFpuScratch(FpuRegister reg) { | 905 void ParallelMoveResolver::RestoreFpuScratch(FpuRegister reg) { |
| 906 UNIMPLEMENTED(); | 906 UNIMPLEMENTED(); |
| 907 } | 907 } |
| 908 | 908 |
| 909 | 909 |
| 910 #undef __ | 910 #undef __ |
| 911 | 911 |
| 912 } // namespace dart | 912 } // namespace dart |
| 913 | 913 |
| 914 #endif // defined TARGET_ARCH_ARM64 | 914 #endif // defined TARGET_ARCH_ARM64 |
| OLD | NEW |