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

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

Issue 11791051: Support immediate and memory operands for PushArgumentInstr in optimized code. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: really handle constant operands Created 7 years, 11 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.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 529 matching lines...) Expand 10 before | Expand all | Expand 10 after
540 } 540 }
541 541
542 /* 542 /*
543 * Macros for High-level operations and implemented on all architectures. 543 * Macros for High-level operations and implemented on all architectures.
544 */ 544 */
545 545
546 void CompareRegisters(Register a, Register b); 546 void CompareRegisters(Register a, Register b);
547 547
548 // Issues a move instruction if 'to' is not the same as 'from'. 548 // Issues a move instruction if 'to' is not the same as 'from'.
549 void MoveRegister(Register to, Register from); 549 void MoveRegister(Register to, Register from);
550 void PushRegister(Register r);
551 void PopRegister(Register r); 550 void PopRegister(Register r);
552 551
553 void AddImmediate(Register reg, const Immediate& imm); 552 void AddImmediate(Register reg, const Immediate& imm);
554 553
555 void Drop(intptr_t stack_elements); 554 void Drop(intptr_t stack_elements);
556 555
557 void LoadObject(Register dst, const Object& object); 556 void LoadObject(Register dst, const Object& object);
558 void StoreObject(const Address& dst, const Object& obj); 557 void StoreObject(const Address& dst, const Object& obj);
559 void PushObject(const Object& object); 558 void PushObject(const Object& object);
560 void CompareObject(Register reg, const Object& object); 559 void CompareObject(Register reg, const Object& object);
(...skipping 216 matching lines...) Expand 10 before | Expand all | Expand 10 after
777 } 776 }
778 777
779 778
780 inline void Assembler::EmitOperandSizeOverride() { 779 inline void Assembler::EmitOperandSizeOverride() {
781 EmitUint8(0x66); 780 EmitUint8(0x66);
782 } 781 }
783 782
784 } // namespace dart 783 } // namespace dart
785 784
786 #endif // VM_ASSEMBLER_X64_H_ 785 #endif // VM_ASSEMBLER_X64_H_
OLDNEW
« no previous file with comments | « runtime/vm/assembler_ia32.cc ('k') | runtime/vm/assembler_x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698