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

Side by Side Diff: runtime/vm/flow_graph_compiler_arm64.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_arm.cc ('k') | runtime/vm/flow_graph_compiler_mips.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) 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
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
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
OLDNEW
« no previous file with comments | « runtime/vm/flow_graph_compiler_arm.cc ('k') | runtime/vm/flow_graph_compiler_mips.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698