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

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

Issue 2858623002: Remove MIPS support (Closed)
Patch Set: Merge and cleanup Created 3 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
« no previous file with comments | « runtime/vm/assembler.cc ('k') | runtime/vm/assembler_mips.h » ('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 RUNTIME_VM_ASSEMBLER_IA32_H_ 5 #ifndef RUNTIME_VM_ASSEMBLER_IA32_H_
6 #define RUNTIME_VM_ASSEMBLER_IA32_H_ 6 #define RUNTIME_VM_ASSEMBLER_IA32_H_
7 7
8 #ifndef RUNTIME_VM_ASSEMBLER_H_ 8 #ifndef RUNTIME_VM_ASSEMBLER_H_
9 #error Do not include assembler_ia32.h directly; use assembler.h instead. 9 #error Do not include assembler_ia32.h directly; use assembler.h instead.
10 #endif 10 #endif
(...skipping 283 matching lines...) Expand 10 before | Expand all | Expand 10 after
294 294
295 295
296 class Assembler : public ValueObject { 296 class Assembler : public ValueObject {
297 public: 297 public:
298 explicit Assembler(bool use_far_branches = false) 298 explicit Assembler(bool use_far_branches = false)
299 : buffer_(), 299 : buffer_(),
300 prologue_offset_(-1), 300 prologue_offset_(-1),
301 jit_cookie_(0), 301 jit_cookie_(0),
302 comments_(), 302 comments_(),
303 code_(Code::ZoneHandle()) { 303 code_(Code::ZoneHandle()) {
304 // This mode is only needed and implemented for MIPS and ARM. 304 // This mode is only needed and implemented for ARM.
305 ASSERT(!use_far_branches); 305 ASSERT(!use_far_branches);
306 } 306 }
307 ~Assembler() {} 307 ~Assembler() {}
308 308
309 static const bool kNearJump = true; 309 static const bool kNearJump = true;
310 static const bool kFarJump = false; 310 static const bool kFarJump = false;
311 311
312 /* 312 /*
313 * Emit Machine Instructions. 313 * Emit Machine Instructions.
314 */ 314 */
(...skipping 692 matching lines...) Expand 10 before | Expand all | Expand 10 after
1007 } 1007 }
1008 1008
1009 1009
1010 inline void Assembler::EmitOperandSizeOverride() { 1010 inline void Assembler::EmitOperandSizeOverride() {
1011 EmitUint8(0x66); 1011 EmitUint8(0x66);
1012 } 1012 }
1013 1013
1014 } // namespace dart 1014 } // namespace dart
1015 1015
1016 #endif // RUNTIME_VM_ASSEMBLER_IA32_H_ 1016 #endif // RUNTIME_VM_ASSEMBLER_IA32_H_
OLDNEW
« no previous file with comments | « runtime/vm/assembler.cc ('k') | runtime/vm/assembler_mips.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698