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

Side by Side Diff: src/arm64/assembler-arm64.h

Issue 233373002: ARM64: Preserve x8 and x9 when necessary. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 8 months 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 | src/arm64/code-stubs-arm64.h » ('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 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
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
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_
OLDNEW
« no previous file with comments | « no previous file | src/arm64/code-stubs-arm64.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698