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

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

Issue 12340006: Adds ARM arm assembler tests. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 10 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 | « no previous file | runtime/vm/assembler_arm_test.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 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 UNIMPLEMENTED(); 66 UNIMPLEMENTED();
67 return false; 67 return false;
68 } 68 }
69 }; 69 };
70 70
71 71
72 // Encodes Addressing Mode 1 - Data-processing operands. 72 // Encodes Addressing Mode 1 - Data-processing operands.
73 class ShifterOperand : public ValueObject { 73 class ShifterOperand : public ValueObject {
74 public: 74 public:
75 // Data-processing operands - Uninitialized. 75 // Data-processing operands - Uninitialized.
76 ShifterOperand() : type_(-1) { } 76 ShifterOperand() : type_(-1), encoding_(-1) { }
77 77
78 // Data-processing operands - Copy constructor. 78 // Data-processing operands - Copy constructor.
79 ShifterOperand(const ShifterOperand& other) 79 ShifterOperand(const ShifterOperand& other)
80 : ValueObject(), type_(other.type_), encoding_(other.encoding_) { } 80 : ValueObject(), type_(other.type_), encoding_(other.encoding_) { }
81 81
82 // Data-processing operands - Assignment operator. 82 // Data-processing operands - Assignment operator.
83 ShifterOperand& operator=(const ShifterOperand& other) { 83 ShifterOperand& operator=(const ShifterOperand& other) {
84 type_ = other.type_; 84 type_ = other.type_;
85 encoding_ = other.encoding_; 85 encoding_ = other.encoding_;
86 return *this; 86 return *this;
(...skipping 551 matching lines...) Expand 10 before | Expand all | Expand 10 after
638 return *reg1 - *reg2; 638 return *reg1 - *reg2;
639 } 639 }
640 640
641 DISALLOW_ALLOCATION(); 641 DISALLOW_ALLOCATION();
642 DISALLOW_COPY_AND_ASSIGN(Assembler); 642 DISALLOW_COPY_AND_ASSIGN(Assembler);
643 }; 643 };
644 644
645 } // namespace dart 645 } // namespace dart
646 646
647 #endif // VM_ASSEMBLER_ARM_H_ 647 #endif // VM_ASSEMBLER_ARM_H_
OLDNEW
« no previous file with comments | « no previous file | runtime/vm/assembler_arm_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698