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

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

Issue 11362210: Restrict immediate operands to smi where only smis are supported. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 1 month 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_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 422 matching lines...) Expand 10 before | Expand all | Expand 10 after
433 void cqo(); 433 void cqo();
434 434
435 void idivl(Register reg); 435 void idivl(Register reg);
436 void idivq(Register reg); 436 void idivq(Register reg);
437 437
438 void imull(Register dst, Register src); 438 void imull(Register dst, Register src);
439 void imull(Register reg, const Immediate& imm); 439 void imull(Register reg, const Immediate& imm);
440 440
441 void imulq(Register dst, Register src); 441 void imulq(Register dst, Register src);
442 void imulq(Register dst, const Address& address); 442 void imulq(Register dst, const Address& address);
443 void imulq(Register dst, const Immediate& imm);
443 444
444 void subq(Register dst, Register src); 445 void subq(Register dst, Register src);
445 void subq(Register reg, const Immediate& imm); 446 void subq(Register reg, const Immediate& imm);
446 void subq(Register reg, const Address& address); 447 void subq(Register reg, const Address& address);
447 448
448 void shll(Register reg, const Immediate& imm); 449 void shll(Register reg, const Immediate& imm);
449 void shll(Register operand, Register shifter); 450 void shll(Register operand, Register shifter);
450 void shrl(Register reg, const Immediate& imm); 451 void shrl(Register reg, const Immediate& imm);
451 void shrl(Register operand, Register shifter); 452 void shrl(Register operand, Register shifter);
452 void sarl(Register reg, const Immediate& imm); 453 void sarl(Register reg, const Immediate& imm);
(...skipping 277 matching lines...) Expand 10 before | Expand all | Expand 10 after
730 } 731 }
731 732
732 733
733 inline void Assembler::EmitOperandSizeOverride() { 734 inline void Assembler::EmitOperandSizeOverride() {
734 EmitUint8(0x66); 735 EmitUint8(0x66);
735 } 736 }
736 737
737 } // namespace dart 738 } // namespace dart
738 739
739 #endif // VM_ASSEMBLER_X64_H_ 740 #endif // VM_ASSEMBLER_X64_H_
OLDNEW
« no previous file with comments | « no previous file | runtime/vm/assembler_x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698