OLD | NEW |
1 // Copyright 2013 the V8 project authors. All rights reserved. | 1 // Copyright 2013 the V8 project authors. All rights reserved. |
2 // Redistribution and use in source and binary forms, with or without | 2 // Redistribution and use in source and binary forms, with or without |
3 // modification, are permitted provided that the following conditions are | 3 // modification, are permitted provided that the following conditions are |
4 // met: | 4 // met: |
5 // | 5 // |
6 // * Redistributions of source code must retain the above copyright | 6 // * Redistributions of source code must retain the above copyright |
7 // notice, this list of conditions and the following disclaimer. | 7 // notice, this list of conditions and the following disclaimer. |
8 // * Redistributions in binary form must reproduce the above | 8 // * Redistributions in binary form must reproduce the above |
9 // copyright notice, this list of conditions and the following | 9 // copyright notice, this list of conditions and the following |
10 // disclaimer in the documentation and/or other materials provided | 10 // disclaimer in the documentation and/or other materials provided |
(...skipping 1707 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1718 | 1718 |
1719 private: | 1719 private: |
1720 Assembler* assem_; | 1720 Assembler* assem_; |
1721 | 1721 |
1722 DISALLOW_IMPLICIT_CONSTRUCTORS(BlockConstPoolScope); | 1722 DISALLOW_IMPLICIT_CONSTRUCTORS(BlockConstPoolScope); |
1723 }; | 1723 }; |
1724 | 1724 |
1725 // Check if is time to emit a constant pool. | 1725 // Check if is time to emit a constant pool. |
1726 void CheckConstPool(bool force_emit, bool require_jump); | 1726 void CheckConstPool(bool force_emit, bool require_jump); |
1727 | 1727 |
| 1728 // Generate the constant pool for the generated code. |
| 1729 void PopulateConstantPool(ConstantPoolArray* constant_pool); |
| 1730 |
1728 // Available for constrained code generation scopes. Prefer | 1731 // Available for constrained code generation scopes. Prefer |
1729 // MacroAssembler::Mov() when possible. | 1732 // MacroAssembler::Mov() when possible. |
1730 inline void LoadRelocated(const CPURegister& rt, const Operand& operand); | 1733 inline void LoadRelocated(const CPURegister& rt, const Operand& operand); |
1731 | 1734 |
1732 protected: | 1735 protected: |
1733 inline const Register& AppropriateZeroRegFor(const CPURegister& reg) const; | 1736 inline const Register& AppropriateZeroRegFor(const CPURegister& reg) const; |
1734 | 1737 |
1735 void LoadStore(const CPURegister& rt, | 1738 void LoadStore(const CPURegister& rt, |
1736 const MemOperand& addr, | 1739 const MemOperand& addr, |
1737 LoadStoreOp op); | 1740 LoadStoreOp op); |
(...skipping 345 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2083 class EnsureSpace BASE_EMBEDDED { | 2086 class EnsureSpace BASE_EMBEDDED { |
2084 public: | 2087 public: |
2085 explicit EnsureSpace(Assembler* assembler) { | 2088 explicit EnsureSpace(Assembler* assembler) { |
2086 assembler->CheckBuffer(); | 2089 assembler->CheckBuffer(); |
2087 } | 2090 } |
2088 }; | 2091 }; |
2089 | 2092 |
2090 } } // namespace v8::internal | 2093 } } // namespace v8::internal |
2091 | 2094 |
2092 #endif // V8_A64_ASSEMBLER_A64_H_ | 2095 #endif // V8_A64_ASSEMBLER_A64_H_ |
OLD | NEW |