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 1095 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1106 __ brk(0); | 1106 __ brk(0); |
1107 ASSERT(assembler()->constant_pool_allowed()); | 1107 ASSERT(assembler()->constant_pool_allowed()); |
1108 GenerateDeferredCode(); | 1108 GenerateDeferredCode(); |
1109 } | 1109 } |
1110 | 1110 |
1111 | 1111 |
1112 void FlowGraphCompiler::GenerateCall(TokenPosition token_pos, | 1112 void FlowGraphCompiler::GenerateCall(TokenPosition token_pos, |
1113 const StubEntry& stub_entry, | 1113 const StubEntry& stub_entry, |
1114 RawPcDescriptors::Kind kind, | 1114 RawPcDescriptors::Kind kind, |
1115 LocationSummary* locs) { | 1115 LocationSummary* locs) { |
1116 __ BranchLinkPatchable(stub_entry); | 1116 __ BranchLink(stub_entry); |
1117 AddCurrentDescriptor(kind, Thread::kNoDeoptId, token_pos); | 1117 AddCurrentDescriptor(kind, Thread::kNoDeoptId, token_pos); |
1118 RecordSafepoint(locs); | 1118 RecordSafepoint(locs); |
1119 } | 1119 } |
1120 | 1120 |
1121 | 1121 |
1122 void FlowGraphCompiler::GenerateDartCall(intptr_t deopt_id, | 1122 void FlowGraphCompiler::GenerateDartCall(intptr_t deopt_id, |
1123 TokenPosition token_pos, | 1123 TokenPosition token_pos, |
1124 const StubEntry& stub_entry, | 1124 const StubEntry& stub_entry, |
1125 RawPcDescriptors::Kind kind, | 1125 RawPcDescriptors::Kind kind, |
1126 LocationSummary* locs) { | 1126 LocationSummary* locs) { |
(...skipping 780 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1907 void ParallelMoveResolver::RestoreFpuScratch(FpuRegister reg) { | 1907 void ParallelMoveResolver::RestoreFpuScratch(FpuRegister reg) { |
1908 __ PopDouble(reg); | 1908 __ PopDouble(reg); |
1909 } | 1909 } |
1910 | 1910 |
1911 | 1911 |
1912 #undef __ | 1912 #undef __ |
1913 | 1913 |
1914 } // namespace dart | 1914 } // namespace dart |
1915 | 1915 |
1916 #endif // defined TARGET_ARCH_ARM64 | 1916 #endif // defined TARGET_ARCH_ARM64 |
OLD | NEW |