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

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

Issue 21159002: Implements far-branches on ARM. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 4 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/assembler_mips.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_MIPS_H_ 5 #ifndef VM_ASSEMBLER_MIPS_H_
6 #define VM_ASSEMBLER_MIPS_H_ 6 #define VM_ASSEMBLER_MIPS_H_
7 7
8 #ifndef VM_ASSEMBLER_H_ 8 #ifndef VM_ASSEMBLER_H_
9 #error Do not include assembler_mips.h directly; use assembler.h instead. 9 #error Do not include assembler_mips.h directly; use assembler.h instead.
10 #endif 10 #endif
11 11
12 #include "platform/assert.h" 12 #include "platform/assert.h"
13 #include "platform/utils.h" 13 #include "platform/utils.h"
14 #include "vm/constants_mips.h" 14 #include "vm/constants_mips.h"
15 #include "vm/simulator.h" 15 #include "vm/simulator.h"
16 16
17 // References to documentation in this file refer to: 17 // References to documentation in this file refer to:
18 // "MIPS® Architecture For Programmers Volume I-A: 18 // "MIPS® Architecture For Programmers Volume I-A:
19 // Introduction to the MIPS32® Architecture" in short "VolI-A" 19 // Introduction to the MIPS32® Architecture" in short "VolI-A"
20 // and 20 // and
21 // "MIPS® Architecture For Programmers Volume II-A: 21 // "MIPS® Architecture For Programmers Volume II-A:
22 // The MIPS32® Instruction Set" in short "VolII-A" 22 // The MIPS32® Instruction Set" in short "VolII-A"
23 namespace dart { 23 namespace dart {
24 24
25 DECLARE_FLAG(bool, use_far_branches);
26
27 // Forward declarations. 25 // Forward declarations.
28 class RuntimeEntry; 26 class RuntimeEntry;
29 27
30 class Immediate : public ValueObject { 28 class Immediate : public ValueObject {
31 public: 29 public:
32 explicit Immediate(int32_t value) : value_(value) { } 30 explicit Immediate(int32_t value) : value_(value) { }
33 31
34 Immediate(const Immediate& other) : ValueObject(), value_(other.value_) { } 32 Immediate(const Immediate& other) : ValueObject(), value_(other.value_) { }
35 Immediate& operator=(const Immediate& other) { 33 Immediate& operator=(const Immediate& other) {
36 value_ = other.value_; 34 value_ = other.value_;
(...skipping 1180 matching lines...) Expand 10 before | Expand all | Expand 10 after
1217 Register value, 1215 Register value,
1218 Label* no_update); 1216 Label* no_update);
1219 1217
1220 DISALLOW_ALLOCATION(); 1218 DISALLOW_ALLOCATION();
1221 DISALLOW_COPY_AND_ASSIGN(Assembler); 1219 DISALLOW_COPY_AND_ASSIGN(Assembler);
1222 }; 1220 };
1223 1221
1224 } // namespace dart 1222 } // namespace dart
1225 1223
1226 #endif // VM_ASSEMBLER_MIPS_H_ 1224 #endif // VM_ASSEMBLER_MIPS_H_
OLDNEW
« no previous file with comments | « runtime/vm/assembler_arm.cc ('k') | runtime/vm/assembler_mips.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698