Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(541)

Side by Side Diff: runtime/vm/flow_graph_compiler_mips.cc

Issue 2391723002: VM+RISC: Share object pool entries for allocation stubs. (Closed)
Patch Set: . Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « runtime/vm/flow_graph_compiler_arm64.cc ('k') | runtime/vm/intermediate_language_arm.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « runtime/vm/flow_graph_compiler_arm64.cc ('k') | runtime/vm/intermediate_language_arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698