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

Side by Side Diff: runtime/vm/assembler_arm.h

Issue 12439005: Implement leaf runtime call stub on ARM and corresponding call redirection (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/tests/vm/vm.status ('k') | runtime/vm/assembler_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 #ifndef VM_ASSEMBLER_ARM_H_ 5 #ifndef VM_ASSEMBLER_ARM_H_
6 #define VM_ASSEMBLER_ARM_H_ 6 #define VM_ASSEMBLER_ARM_H_
7 7
8 #ifndef VM_ASSEMBLER_H_ 8 #ifndef VM_ASSEMBLER_H_
9 #error Do not include assembler_arm.h directly; use assembler.h instead. 9 #error Do not include assembler_arm.h directly; use assembler.h instead.
10 #endif 10 #endif
(...skipping 500 matching lines...) Expand 10 before | Expand all | Expand 10 after
511 void blx(Register rm, Condition cond = AL); 511 void blx(Register rm, Condition cond = AL);
512 512
513 // Move to ARM core register from Coprocessor. 513 // Move to ARM core register from Coprocessor.
514 void mrc(Register rd, int32_t coproc, int32_t opc1, 514 void mrc(Register rd, int32_t coproc, int32_t opc1,
515 int32_t crn, int32_t crm, int32_t opc2, Condition cond = AL); 515 int32_t crn, int32_t crm, int32_t opc2, Condition cond = AL);
516 516
517 // Macros. 517 // Macros.
518 // Branch to an entry address. Call sequence is never patched. 518 // Branch to an entry address. Call sequence is never patched.
519 void Branch(const ExternalLabel* label, Condition cond = AL); 519 void Branch(const ExternalLabel* label, Condition cond = AL);
520 520
521 // Branch to an entry address. Call sequence can be patched or even replaced.
522 void BranchPatchable(const ExternalLabel* label);
523
521 // Branch and link to an entry address. Call sequence is never patched. 524 // Branch and link to an entry address. Call sequence is never patched.
522 void BranchLink(const ExternalLabel* label); 525 void BranchLink(const ExternalLabel* label);
523 526
524 // Branch and link to an entry address. Call sequence can be patched. 527 // Branch and link to an entry address. Call sequence can be patched.
525 void BranchLinkPatchable(const ExternalLabel* label); 528 void BranchLinkPatchable(const ExternalLabel* label);
526 529
527 // Branch and link to entry after storing return address at ad. 530 // Branch and link to entry after storing return address at ad.
528 // Call sequence is never patched. 531 // Call sequence is never patched.
529 void BranchLinkStore(const ExternalLabel* label, Address ad); 532 void BranchLinkStore(const ExternalLabel* label, Address ad);
530 533
(...skipping 238 matching lines...) Expand 10 before | Expand all | Expand 10 after
769 return *reg1 - *reg2; 772 return *reg1 - *reg2;
770 } 773 }
771 774
772 DISALLOW_ALLOCATION(); 775 DISALLOW_ALLOCATION();
773 DISALLOW_COPY_AND_ASSIGN(Assembler); 776 DISALLOW_COPY_AND_ASSIGN(Assembler);
774 }; 777 };
775 778
776 } // namespace dart 779 } // namespace dart
777 780
778 #endif // VM_ASSEMBLER_ARM_H_ 781 #endif // VM_ASSEMBLER_ARM_H_
OLDNEW
« no previous file with comments | « runtime/tests/vm/vm.status ('k') | runtime/vm/assembler_arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698