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

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

Issue 306483005: - Use isolate where it is appropriate. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 years, 6 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
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 1320 matching lines...) Expand 10 before | Expand all | Expand 10 after
1331 num_args_checked)); // No arguments checked. 1331 num_args_checked)); // No arguments checked.
1332 ic_data.AddTarget(target_function); 1332 ic_data.AddTarget(target_function);
1333 uword label_address = 0; 1333 uword label_address = 0;
1334 if (ic_data.NumArgsTested() == 0) { 1334 if (ic_data.NumArgsTested() == 0) {
1335 label_address = StubCode::ZeroArgsUnoptimizedStaticCallEntryPoint(); 1335 label_address = StubCode::ZeroArgsUnoptimizedStaticCallEntryPoint();
1336 } else if (ic_data.NumArgsTested() == 2) { 1336 } else if (ic_data.NumArgsTested() == 2) {
1337 label_address = StubCode::TwoArgsUnoptimizedStaticCallEntryPoint(); 1337 label_address = StubCode::TwoArgsUnoptimizedStaticCallEntryPoint();
1338 } else { 1338 } else {
1339 UNIMPLEMENTED(); 1339 UNIMPLEMENTED();
1340 } 1340 }
1341 ExternalLabel target_label("StaticCallICStub", label_address); 1341 ExternalLabel target_label(label_address);
1342 __ LoadObject(R5, ic_data, PP); 1342 __ LoadObject(R5, ic_data, PP);
1343 GenerateDartCall(deopt_id, 1343 GenerateDartCall(deopt_id,
1344 token_pos, 1344 token_pos,
1345 &target_label, 1345 &target_label,
1346 PcDescriptors::kUnoptStaticCall, 1346 PcDescriptors::kUnoptStaticCall,
1347 locs); 1347 locs);
1348 __ Drop(argument_count); 1348 __ Drop(argument_count);
1349 } 1349 }
1350 1350
1351 1351
(...skipping 395 matching lines...) Expand 10 before | Expand all | Expand 10 after
1747 void ParallelMoveResolver::RestoreFpuScratch(FpuRegister reg) { 1747 void ParallelMoveResolver::RestoreFpuScratch(FpuRegister reg) {
1748 UNIMPLEMENTED(); 1748 UNIMPLEMENTED();
1749 } 1749 }
1750 1750
1751 1751
1752 #undef __ 1752 #undef __
1753 1753
1754 } // namespace dart 1754 } // namespace dart
1755 1755
1756 #endif // defined TARGET_ARCH_ARM64 1756 #endif // defined TARGET_ARCH_ARM64
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698