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

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

Issue 261693002: Fix TryICData to create ICData with a valid arguments decriptor. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 years, 7 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 | Annotate | Revision Log
« no previous file with comments | « runtime/vm/flow_graph_compiler_arm.cc ('k') | runtime/vm/flow_graph_compiler_ia32.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 998 matching lines...) Expand 10 before | Expand all | Expand 10 after
1009 UNIMPLEMENTED(); 1009 UNIMPLEMENTED();
1010 } 1010 }
1011 1011
1012 1012
1013 void FlowGraphCompiler::EmitInstanceCall(ExternalLabel* target_label, 1013 void FlowGraphCompiler::EmitInstanceCall(ExternalLabel* target_label,
1014 const ICData& ic_data, 1014 const ICData& ic_data,
1015 intptr_t argument_count, 1015 intptr_t argument_count,
1016 intptr_t deopt_id, 1016 intptr_t deopt_id,
1017 intptr_t token_pos, 1017 intptr_t token_pos,
1018 LocationSummary* locs) { 1018 LocationSummary* locs) {
1019 ASSERT(Array::Handle(ic_data.arguments_descriptor()).Length() > 0);
1019 __ LoadObject(R5, ic_data, PP); 1020 __ LoadObject(R5, ic_data, PP);
1020 GenerateDartCall(deopt_id, 1021 GenerateDartCall(deopt_id,
1021 token_pos, 1022 token_pos,
1022 target_label, 1023 target_label,
1023 PcDescriptors::kIcCall, 1024 PcDescriptors::kIcCall,
1024 locs); 1025 locs);
1025 __ Drop(argument_count); 1026 __ Drop(argument_count);
1026 } 1027 }
1027 1028
1028 1029
(...skipping 243 matching lines...) Expand 10 before | Expand all | Expand 10 after
1272 void ParallelMoveResolver::RestoreFpuScratch(FpuRegister reg) { 1273 void ParallelMoveResolver::RestoreFpuScratch(FpuRegister reg) {
1273 UNIMPLEMENTED(); 1274 UNIMPLEMENTED();
1274 } 1275 }
1275 1276
1276 1277
1277 #undef __ 1278 #undef __
1278 1279
1279 } // namespace dart 1280 } // namespace dart
1280 1281
1281 #endif // defined TARGET_ARCH_ARM64 1282 #endif // defined TARGET_ARCH_ARM64
OLDNEW
« no previous file with comments | « runtime/vm/flow_graph_compiler_arm.cc ('k') | runtime/vm/flow_graph_compiler_ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698