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_MIPS. | 5 #include "vm/globals.h" // Needed here to get TARGET_ARCH_MIPS. |
6 #if defined(TARGET_ARCH_MIPS) | 6 #if defined(TARGET_ARCH_MIPS) |
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 1115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1126 | 1126 |
1127 __ break_(0); | 1127 __ break_(0); |
1128 GenerateDeferredCode(); | 1128 GenerateDeferredCode(); |
1129 } | 1129 } |
1130 | 1130 |
1131 | 1131 |
1132 void FlowGraphCompiler::GenerateCall(TokenPosition token_pos, | 1132 void FlowGraphCompiler::GenerateCall(TokenPosition token_pos, |
1133 const StubEntry& stub_entry, | 1133 const StubEntry& stub_entry, |
1134 RawPcDescriptors::Kind kind, | 1134 RawPcDescriptors::Kind kind, |
1135 LocationSummary* locs) { | 1135 LocationSummary* locs) { |
1136 __ BranchLinkPatchable(stub_entry); | 1136 __ BranchLink(stub_entry); |
1137 AddCurrentDescriptor(kind, Thread::kNoDeoptId, token_pos); | 1137 AddCurrentDescriptor(kind, Thread::kNoDeoptId, token_pos); |
1138 RecordSafepoint(locs); | 1138 RecordSafepoint(locs); |
1139 } | 1139 } |
1140 | 1140 |
1141 | 1141 |
1142 void FlowGraphCompiler::GenerateDartCall(intptr_t deopt_id, | 1142 void FlowGraphCompiler::GenerateDartCall(intptr_t deopt_id, |
1143 TokenPosition token_pos, | 1143 TokenPosition token_pos, |
1144 const StubEntry& stub_entry, | 1144 const StubEntry& stub_entry, |
1145 RawPcDescriptors::Kind kind, | 1145 RawPcDescriptors::Kind kind, |
1146 LocationSummary* locs) { | 1146 LocationSummary* locs) { |
(...skipping 784 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1931 __ AddImmediate(SP, kDoubleSize); | 1931 __ AddImmediate(SP, kDoubleSize); |
1932 } | 1932 } |
1933 | 1933 |
1934 | 1934 |
1935 #undef __ | 1935 #undef __ |
1936 | 1936 |
1937 | 1937 |
1938 } // namespace dart | 1938 } // namespace dart |
1939 | 1939 |
1940 #endif // defined TARGET_ARCH_MIPS | 1940 #endif // defined TARGET_ARCH_MIPS |
OLD | NEW |