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); |
652 | 653 |
653 void pop(Register dst); | 654 void pop(Register dst); |
654 void pop(const Operand& dst); | 655 void pop(const Operand& dst); |
655 | 656 |
656 void enter(Immediate size); | 657 void enter(Immediate size); |
657 void leave(); | 658 void leave(); |
658 | 659 |
659 // Moves | 660 // Moves |
660 void movb(Register dst, const Operand& src); | 661 void movb(Register dst, const Operand& src); |
661 void movb(Register dst, Immediate imm); | 662 void movb(Register dst, Immediate imm); |
(...skipping 978 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1640 private: | 1641 private: |
1641 Assembler* assembler_; | 1642 Assembler* assembler_; |
1642 #ifdef DEBUG | 1643 #ifdef DEBUG |
1643 int space_before_; | 1644 int space_before_; |
1644 #endif | 1645 #endif |
1645 }; | 1646 }; |
1646 | 1647 |
1647 } } // namespace v8::internal | 1648 } } // namespace v8::internal |
1648 | 1649 |
1649 #endif // V8_X64_ASSEMBLER_X64_H_ | 1650 #endif // V8_X64_ASSEMBLER_X64_H_ |
OLD | NEW |