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

Side by Side Diff: src/a64/code-stubs-a64.h

Issue 194473005: A64: Rename k<Y>RegSize to k<Y>RegSizeInBits, and k<Y>RegSizeInBytes to k<Y>RegSize. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 9 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 | « src/a64/builtins-a64.cc ('k') | src/a64/code-stubs-a64.cc » ('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 244 matching lines...) Expand 10 before | Expand all | Expand 10 after
255 // registers without those with a special meaning. 255 // registers without those with a special meaning.
256 // 256 //
257 // The default list excludes registers x26 to x31 because they are 257 // The default list excludes registers x26 to x31 because they are
258 // reserved for the following purpose: 258 // reserved for the following purpose:
259 // - x26 root register 259 // - x26 root register
260 // - x27 context pointer register 260 // - x27 context pointer register
261 // - x28 jssp 261 // - x28 jssp
262 // - x29 frame pointer 262 // - x29 frame pointer
263 // - x30 link register(lr) 263 // - x30 link register(lr)
264 // - x31 xzr/stack pointer 264 // - x31 xzr/stack pointer
265 CPURegList list(CPURegister::kRegister, kXRegSize, 0, 25); 265 CPURegList list(CPURegister::kRegister, kXRegSizeInBits, 0, 25);
266 266
267 // We also remove MacroAssembler's scratch registers. 267 // We also remove MacroAssembler's scratch registers.
268 list.Remove(ip0); 268 list.Remove(ip0);
269 list.Remove(ip1); 269 list.Remove(ip1);
270 list.Remove(x8); 270 list.Remove(x8);
271 list.Remove(x9); 271 list.Remove(x9);
272 272
273 return list; 273 return list;
274 } 274 }
275 275
(...skipping 184 matching lines...) Expand 10 before | Expand all | Expand 10 after
460 TargetAddressStorageMode storage_mode() { return storage_mode_; } 460 TargetAddressStorageMode storage_mode() { return storage_mode_; }
461 461
462 private: 462 private:
463 TargetAddressStorageMode storage_mode_; 463 TargetAddressStorageMode storage_mode_;
464 }; 464 };
465 465
466 466
467 } } // namespace v8::internal 467 } } // namespace v8::internal
468 468
469 #endif // V8_A64_CODE_STUBS_A64_H_ 469 #endif // V8_A64_CODE_STUBS_A64_H_
OLDNEW
« no previous file with comments | « src/a64/builtins-a64.cc ('k') | src/a64/code-stubs-a64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698