OLD | NEW |
1 // Copyright (c) 1994-2006 Sun Microsystems Inc. | 1 // Copyright (c) 1994-2006 Sun Microsystems Inc. |
2 // All Rights Reserved. | 2 // All Rights Reserved. |
3 // | 3 // |
4 // Redistribution and use in source and binary forms, with or without | 4 // Redistribution and use in source and binary forms, with or without |
5 // modification, are permitted provided that the following conditions are | 5 // modification, are permitted provided that the following conditions are |
6 // met: | 6 // met: |
7 // | 7 // |
8 // - Redistributions of source code must retain the above copyright notice, | 8 // - Redistributions of source code must retain the above copyright notice, |
9 // this list of conditions and the following disclaimer. | 9 // this list of conditions and the following disclaimer. |
10 // | 10 // |
(...skipping 631 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
642 // Stack | 642 // Stack |
643 void pushfq(); | 643 void pushfq(); |
644 void popfq(); | 644 void popfq(); |
645 | 645 |
646 void push(Immediate value); | 646 void push(Immediate value); |
647 // Push a 32 bit integer, and guarantee that it is actually pushed as a | 647 // Push a 32 bit integer, and guarantee that it is actually pushed as a |
648 // 32 bit value, the normal push will optimize the 8 bit case. | 648 // 32 bit value, the normal push will optimize the 8 bit case. |
649 void push_imm32(int32_t imm32); | 649 void push_imm32(int32_t imm32); |
650 void push(Register src); | 650 void push(Register src); |
651 void push(const Operand& src); | 651 void push(const Operand& src); |
652 void push(Handle<Object> handle); | |
653 | 652 |
654 void pop(Register dst); | 653 void pop(Register dst); |
655 void pop(const Operand& dst); | 654 void pop(const Operand& dst); |
656 | 655 |
657 void enter(Immediate size); | 656 void enter(Immediate size); |
658 void leave(); | 657 void leave(); |
659 | 658 |
660 // Moves | 659 // Moves |
661 void movb(Register dst, const Operand& src); | 660 void movb(Register dst, const Operand& src); |
662 void movb(Register dst, Immediate imm); | 661 void movb(Register dst, Immediate imm); |
(...skipping 978 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1641 private: | 1640 private: |
1642 Assembler* assembler_; | 1641 Assembler* assembler_; |
1643 #ifdef DEBUG | 1642 #ifdef DEBUG |
1644 int space_before_; | 1643 int space_before_; |
1645 #endif | 1644 #endif |
1646 }; | 1645 }; |
1647 | 1646 |
1648 } } // namespace v8::internal | 1647 } } // namespace v8::internal |
1649 | 1648 |
1650 #endif // V8_X64_ASSEMBLER_X64_H_ | 1649 #endif // V8_X64_ASSEMBLER_X64_H_ |
OLD | NEW |