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

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

Issue 1272883003: [turbofan] Remove architecture-specific linkage files and LinkageTraits. Use macro-assembler-define… (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 4 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
« no previous file with comments | « src/mips64/macro-assembler-mips64.h ('k') | src/ppc/macro-assembler-ppc.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 (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 5 // modification, are permitted provided that the following conditions
6 // are met: 6 // are 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 274 matching lines...) Expand 10 before | Expand all | Expand 10 after
285 const Register r27 = {kRegister_r27_Code}; 285 const Register r27 = {kRegister_r27_Code};
286 const Register r28 = {kRegister_r28_Code}; 286 const Register r28 = {kRegister_r28_Code};
287 const Register r29 = {kRegister_r29_Code}; 287 const Register r29 = {kRegister_r29_Code};
288 const Register r30 = {kRegister_r30_Code}; 288 const Register r30 = {kRegister_r30_Code};
289 const Register fp = {kRegister_fp_Code}; 289 const Register fp = {kRegister_fp_Code};
290 290
291 // Give alias names to registers 291 // Give alias names to registers
292 const Register cp = {kRegister_r30_Code}; // JavaScript context pointer 292 const Register cp = {kRegister_r30_Code}; // JavaScript context pointer
293 const Register kRootRegister = {kRegister_r29_Code}; // Roots array pointer. 293 const Register kRootRegister = {kRegister_r29_Code}; // Roots array pointer.
294 const Register kConstantPoolRegister = {kRegister_r28_Code}; // Constant pool 294 const Register kConstantPoolRegister = {kRegister_r28_Code}; // Constant pool
295 const Register kInterpreterBytecodeOffsetRegister = {
296 kRegister_r14_Code // Interpreter bytecode offset.
297 };
298 const Register kInterpreterBytecodeArrayRegister = {
299 kRegister_r15_Code // Interpreter bytecode array pointer.
300 };
301 const Register kInterpreterDispatchTableRegister = {
302 kRegister_r16_Code // Interpreter dispatch table.
303 };
304 295
305 // Double word FP register. 296 // Double word FP register.
306 struct DoubleRegister { 297 struct DoubleRegister {
307 static const int kNumRegisters = 32; 298 static const int kNumRegisters = 32;
308 static const int kMaxNumRegisters = kNumRegisters; 299 static const int kMaxNumRegisters = kNumRegisters;
309 static const int kNumVolatileRegisters = 14; // d0-d13 300 static const int kNumVolatileRegisters = 14; // d0-d13
310 static const int kSizeInBytes = 8; 301 static const int kSizeInBytes = 8;
311 302
312 static const int kAllocatableLowRangeBegin = 1; 303 static const int kAllocatableLowRangeBegin = 1;
313 static const int kAllocatableLowRangeEnd = 12; 304 static const int kAllocatableLowRangeEnd = 12;
(...skipping 1304 matching lines...) Expand 10 before | Expand all | Expand 10 after
1618 1609
1619 1610
1620 class EnsureSpace BASE_EMBEDDED { 1611 class EnsureSpace BASE_EMBEDDED {
1621 public: 1612 public:
1622 explicit EnsureSpace(Assembler* assembler) { assembler->CheckBuffer(); } 1613 explicit EnsureSpace(Assembler* assembler) { assembler->CheckBuffer(); }
1623 }; 1614 };
1624 } 1615 }
1625 } // namespace v8::internal 1616 } // namespace v8::internal
1626 1617
1627 #endif // V8_PPC_ASSEMBLER_PPC_H_ 1618 #endif // V8_PPC_ASSEMBLER_PPC_H_
OLDNEW
« no previous file with comments | « src/mips64/macro-assembler-mips64.h ('k') | src/ppc/macro-assembler-ppc.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698