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_ARM. | 5 #include "vm/globals.h" // Needed here to get TARGET_ARCH_ARM. |
6 #if defined(TARGET_ARCH_ARM) | 6 #if defined(TARGET_ARCH_ARM) |
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 1101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1112 __ bkpt(0); | 1112 __ bkpt(0); |
1113 ASSERT(assembler()->constant_pool_allowed()); | 1113 ASSERT(assembler()->constant_pool_allowed()); |
1114 GenerateDeferredCode(); | 1114 GenerateDeferredCode(); |
1115 } | 1115 } |
1116 | 1116 |
1117 | 1117 |
1118 void FlowGraphCompiler::GenerateCall(TokenPosition token_pos, | 1118 void FlowGraphCompiler::GenerateCall(TokenPosition token_pos, |
1119 const StubEntry& stub_entry, | 1119 const StubEntry& stub_entry, |
1120 RawPcDescriptors::Kind kind, | 1120 RawPcDescriptors::Kind kind, |
1121 LocationSummary* locs) { | 1121 LocationSummary* locs) { |
1122 __ BranchLinkPatchable(stub_entry); | 1122 __ BranchLink(stub_entry); |
1123 AddCurrentDescriptor(kind, Thread::kNoDeoptId, token_pos); | 1123 AddCurrentDescriptor(kind, Thread::kNoDeoptId, token_pos); |
1124 RecordSafepoint(locs); | 1124 RecordSafepoint(locs); |
1125 } | 1125 } |
1126 | 1126 |
1127 | 1127 |
1128 void FlowGraphCompiler::GenerateDartCall(intptr_t deopt_id, | 1128 void FlowGraphCompiler::GenerateDartCall(intptr_t deopt_id, |
1129 TokenPosition token_pos, | 1129 TokenPosition token_pos, |
1130 const StubEntry& stub_entry, | 1130 const StubEntry& stub_entry, |
1131 RawPcDescriptors::Kind kind, | 1131 RawPcDescriptors::Kind kind, |
1132 LocationSummary* locs) { | 1132 LocationSummary* locs) { |
(...skipping 837 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1970 DRegister dreg = EvenDRegisterOf(reg); | 1970 DRegister dreg = EvenDRegisterOf(reg); |
1971 __ vldrd(dreg, Address(SP, kDoubleSize, Address::PostIndex)); | 1971 __ vldrd(dreg, Address(SP, kDoubleSize, Address::PostIndex)); |
1972 } | 1972 } |
1973 | 1973 |
1974 | 1974 |
1975 #undef __ | 1975 #undef __ |
1976 | 1976 |
1977 } // namespace dart | 1977 } // namespace dart |
1978 | 1978 |
1979 #endif // defined TARGET_ARCH_ARM | 1979 #endif // defined TARGET_ARCH_ARM |
OLD | NEW |