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 498 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
509 ASSERT(IsValid()); | 509 ASSERT(IsValid()); |
510 list_ = new_list; | 510 list_ = new_list; |
511 } | 511 } |
512 | 512 |
513 // Combine another CPURegList into this one. Registers that already exist in | 513 // Combine another CPURegList into this one. Registers that already exist in |
514 // this list are left unchanged. The type and size of the registers in the | 514 // this list are left unchanged. The type and size of the registers in the |
515 // 'other' list must match those in this list. | 515 // 'other' list must match those in this list. |
516 void Combine(const CPURegList& other); | 516 void Combine(const CPURegList& other); |
517 | 517 |
518 // Remove every register in the other CPURegList from this one. Registers that | 518 // Remove every register in the other CPURegList from this one. Registers that |
519 // do not exist in this list are ignored. The type and size of the registers | 519 // do not exist in this list are ignored. The type of the registers in the |
520 // in the 'other' list must match those in this list. | 520 // 'other' list must match those in this list. |
521 void Remove(const CPURegList& other); | 521 void Remove(const CPURegList& other); |
522 | 522 |
523 // Variants of Combine and Remove which take CPURegisters. | 523 // Variants of Combine and Remove which take CPURegisters. |
524 void Combine(const CPURegister& other); | 524 void Combine(const CPURegister& other); |
525 void Remove(const CPURegister& other1, | 525 void Remove(const CPURegister& other1, |
526 const CPURegister& other2 = NoCPUReg, | 526 const CPURegister& other2 = NoCPUReg, |
527 const CPURegister& other3 = NoCPUReg, | 527 const CPURegister& other3 = NoCPUReg, |
528 const CPURegister& other4 = NoCPUReg); | 528 const CPURegister& other4 = NoCPUReg); |
529 | 529 |
530 // Variants of Combine and Remove which take a single register by its code; | 530 // Variants of Combine and Remove which take a single register by its code; |
(...skipping 1707 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2238 class EnsureSpace BASE_EMBEDDED { | 2238 class EnsureSpace BASE_EMBEDDED { |
2239 public: | 2239 public: |
2240 explicit EnsureSpace(Assembler* assembler) { | 2240 explicit EnsureSpace(Assembler* assembler) { |
2241 assembler->CheckBuffer(); | 2241 assembler->CheckBuffer(); |
2242 } | 2242 } |
2243 }; | 2243 }; |
2244 | 2244 |
2245 } } // namespace v8::internal | 2245 } } // namespace v8::internal |
2246 | 2246 |
2247 #endif // V8_ARM64_ASSEMBLER_ARM64_H_ | 2247 #endif // V8_ARM64_ASSEMBLER_ARM64_H_ |
OLD | NEW |