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

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

Issue 12629004: Implement native call stub on ARM and native call redirection in ARM simulator. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 9 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/assembler_arm.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_ARM. 5 #include "vm/globals.h" // Needed here to get TARGET_ARCH_ARM.
6 #if defined(TARGET_ARCH_ARM) 6 #if defined(TARGET_ARCH_ARM)
7 7
8 #include "vm/flow_graph_compiler.h" 8 #include "vm/flow_graph_compiler.h"
9 9
10 #include "lib/error.h" 10 #include "lib/error.h"
(...skipping 356 matching lines...) Expand 10 before | Expand all | Expand 10 after
367 Isolate::kNoDeoptId, 367 Isolate::kNoDeoptId,
368 0); // No token position. 368 0); // No token position.
369 __ Branch(&StubCode::DeoptimizeLazyLabel()); 369 __ Branch(&StubCode::DeoptimizeLazyLabel());
370 } 370 }
371 371
372 372
373 void FlowGraphCompiler::GenerateCall(intptr_t token_pos, 373 void FlowGraphCompiler::GenerateCall(intptr_t token_pos,
374 const ExternalLabel* label, 374 const ExternalLabel* label,
375 PcDescriptors::Kind kind, 375 PcDescriptors::Kind kind,
376 LocationSummary* locs) { 376 LocationSummary* locs) {
377 UNIMPLEMENTED(); 377 __ BranchLinkPatchable(label);
378 AddCurrentDescriptor(kind, Isolate::kNoDeoptId, token_pos);
379 RecordSafepoint(locs);
378 } 380 }
379 381
380 382
381 void FlowGraphCompiler::GenerateDartCall(intptr_t deopt_id, 383 void FlowGraphCompiler::GenerateDartCall(intptr_t deopt_id,
382 intptr_t token_pos, 384 intptr_t token_pos,
383 const ExternalLabel* label, 385 const ExternalLabel* label,
384 PcDescriptors::Kind kind, 386 PcDescriptors::Kind kind,
385 LocationSummary* locs) { 387 LocationSummary* locs) {
386 __ BranchLinkPatchable(label); 388 __ BranchLinkPatchable(label);
387 AddCurrentDescriptor(kind, deopt_id, token_pos); 389 AddCurrentDescriptor(kind, deopt_id, token_pos);
(...skipping 229 matching lines...) Expand 10 before | Expand all | Expand 10 after
617 619
618 620
619 void ParallelMoveResolver::Exchange(const Address& mem1, const Address& mem2) { 621 void ParallelMoveResolver::Exchange(const Address& mem1, const Address& mem2) {
620 UNIMPLEMENTED(); 622 UNIMPLEMENTED();
621 } 623 }
622 624
623 625
624 } // namespace dart 626 } // namespace dart
625 627
626 #endif // defined TARGET_ARCH_ARM 628 #endif // defined TARGET_ARCH_ARM
OLDNEW
« no previous file with comments | « runtime/vm/assembler_arm.cc ('k') | runtime/vm/intermediate_language_arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698