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

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

Issue 10909169: Add support for WritableRegister policy in the register allocator. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Don't use non-volatile EBX in a test Created 8 years, 3 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_ia32_test.cc ('k') | runtime/vm/assembler_x64.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) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, 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_X64_H_ 5 #ifndef VM_ASSEMBLER_X64_H_
6 #define VM_ASSEMBLER_X64_H_ 6 #define VM_ASSEMBLER_X64_H_
7 7
8 #ifndef VM_ASSEMBLER_H_ 8 #ifndef VM_ASSEMBLER_H_
9 #error Do not include assembler_x64.h directly; use assembler.h instead. 9 #error Do not include assembler_x64.h directly; use assembler.h instead.
10 #endif 10 #endif
(...skipping 519 matching lines...) Expand 10 before | Expand all | Expand 10 after
530 void AddImmediate(Register reg, const Immediate& imm); 530 void AddImmediate(Register reg, const Immediate& imm);
531 531
532 void Drop(intptr_t stack_elements); 532 void Drop(intptr_t stack_elements);
533 533
534 void LoadObject(Register dst, const Object& object); 534 void LoadObject(Register dst, const Object& object);
535 void StoreObject(const Address& dst, const Object& obj); 535 void StoreObject(const Address& dst, const Object& obj);
536 void PushObject(const Object& object); 536 void PushObject(const Object& object);
537 void CompareObject(Register reg, const Object& object); 537 void CompareObject(Register reg, const Object& object);
538 void LoadDoubleConstant(XmmRegister dst, double value); 538 void LoadDoubleConstant(XmmRegister dst, double value);
539 539
540 // Destroys value.
540 void StoreIntoObject(Register object, // Object we are storing into. 541 void StoreIntoObject(Register object, // Object we are storing into.
541 const FieldAddress& dest, // Where we are storing into. 542 const FieldAddress& dest, // Where we are storing into.
542 Register value); // Value we are storing. 543 Register value); // Value we are storing.
543 544
544 void StoreIntoObjectNoBarrier(Register object, 545 void StoreIntoObjectNoBarrier(Register object,
545 const FieldAddress& dest, 546 const FieldAddress& dest,
546 Register value); 547 Register value);
547 void StoreIntoObjectNoBarrier(Register object, 548 void StoreIntoObjectNoBarrier(Register object,
548 const FieldAddress& dest, 549 const FieldAddress& dest,
549 const Object& value); 550 const Object& value);
(...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after
706 } 707 }
707 708
708 709
709 inline void Assembler::EmitOperandSizeOverride() { 710 inline void Assembler::EmitOperandSizeOverride() {
710 EmitUint8(0x66); 711 EmitUint8(0x66);
711 } 712 }
712 713
713 } // namespace dart 714 } // namespace dart
714 715
715 #endif // VM_ASSEMBLER_X64_H_ 716 #endif // VM_ASSEMBLER_X64_H_
OLDNEW
« no previous file with comments | « runtime/vm/assembler_ia32_test.cc ('k') | runtime/vm/assembler_x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698