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

Side by Side Diff: src/arm/frames-arm.h

Issue 21063002: Out-of-line constant pool on Arm: Stage 1 - Free up r7 for use as constant pool pointer register (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Rebase Created 7 years, 3 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
OLDNEW
1 // Copyright 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 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 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 // Return the code of the n-th caller-saved register available to JavaScript 57 // Return the code of the n-th caller-saved register available to JavaScript
58 // e.g. JSCallerSavedReg(0) returns r0.code() == 0 58 // e.g. JSCallerSavedReg(0) returns r0.code() == 0
59 int JSCallerSavedCode(int n); 59 int JSCallerSavedCode(int n);
60 60
61 61
62 // Callee-saved registers preserved when switching from C to JavaScript 62 // Callee-saved registers preserved when switching from C to JavaScript
63 const RegList kCalleeSaved = 63 const RegList kCalleeSaved =
64 1 << 4 | // r4 v1 64 1 << 4 | // r4 v1
65 1 << 5 | // r5 v2 65 1 << 5 | // r5 v2
66 1 << 6 | // r6 v3 66 1 << 6 | // r6 v3
67 1 << 7 | // r7 v4 67 1 << 7 | // r7 v4 (pp in JavaScript code)
68 1 << 8 | // r8 v5 (cp in JavaScript code) 68 1 << 8 | // r8 v5 (cp in JavaScript code)
69 kR9Available << 9 | // r9 v6 69 kR9Available << 9 | // r9 v6
70 1 << 10 | // r10 v7 70 1 << 10 | // r10 v7
71 1 << 11; // r11 v8 (fp in JavaScript code) 71 1 << 11; // r11 v8 (fp in JavaScript code)
72 72
73 // When calling into C++ (only for C++ calls that can't cause a GC). 73 // When calling into C++ (only for C++ calls that can't cause a GC).
74 // The call code will take care of lr, fp, etc. 74 // The call code will take care of lr, fp, etc.
75 const RegList kCallerSaved = 75 const RegList kCallerSaved =
76 1 << 0 | // r0 76 1 << 0 | // r0
77 1 << 1 | // r1 77 1 << 1 | // r1
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
172 172
173 173
174 inline void StackHandler::SetFp(Address slot, Address fp) { 174 inline void StackHandler::SetFp(Address slot, Address fp) {
175 Memory::Address_at(slot) = fp; 175 Memory::Address_at(slot) = fp;
176 } 176 }
177 177
178 178
179 } } // namespace v8::internal 179 } } // namespace v8::internal
180 180
181 #endif // V8_ARM_FRAMES_ARM_H_ 181 #endif // V8_ARM_FRAMES_ARM_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698