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

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

Issue 286903003: Remove unused thread locals from debugger. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 7 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/frames-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 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef V8_ARM_FRAMES_ARM_H_ 5 #ifndef V8_ARM_FRAMES_ARM_H_
6 #define V8_ARM_FRAMES_ARM_H_ 6 #define V8_ARM_FRAMES_ARM_H_
7 7
8 namespace v8 { 8 namespace v8 {
9 namespace internal { 9 namespace internal {
10 10
(...skipping 11 matching lines...) Expand all
22 22
23 // Caller-saved/arguments registers 23 // Caller-saved/arguments registers
24 const RegList kJSCallerSaved = 24 const RegList kJSCallerSaved =
25 1 << 0 | // r0 a1 25 1 << 0 | // r0 a1
26 1 << 1 | // r1 a2 26 1 << 1 | // r1 a2
27 1 << 2 | // r2 a3 27 1 << 2 | // r2 a3
28 1 << 3; // r3 a4 28 1 << 3; // r3 a4
29 29
30 const int kNumJSCallerSaved = 4; 30 const int kNumJSCallerSaved = 4;
31 31
32 typedef Object* JSCallerSavedBuffer[kNumJSCallerSaved];
33
34 // Return the code of the n-th caller-saved register available to JavaScript 32 // Return the code of the n-th caller-saved register available to JavaScript
35 // e.g. JSCallerSavedReg(0) returns r0.code() == 0 33 // e.g. JSCallerSavedReg(0) returns r0.code() == 0
36 int JSCallerSavedCode(int n); 34 int JSCallerSavedCode(int n);
37 35
38 36
39 // Callee-saved registers preserved when switching from C to JavaScript 37 // Callee-saved registers preserved when switching from C to JavaScript
40 const RegList kCalleeSaved = 38 const RegList kCalleeSaved =
41 1 << 4 | // r4 v1 39 1 << 4 | // r4 v1
42 1 << 5 | // r5 v2 40 1 << 5 | // r5 v2
43 1 << 6 | // r6 v3 41 1 << 6 | // r6 v3
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
155 153
156 154
157 inline void StackHandler::SetFp(Address slot, Address fp) { 155 inline void StackHandler::SetFp(Address slot, Address fp) {
158 Memory::Address_at(slot) = fp; 156 Memory::Address_at(slot) = fp;
159 } 157 }
160 158
161 159
162 } } // namespace v8::internal 160 } } // namespace v8::internal
163 161
164 #endif // V8_ARM_FRAMES_ARM_H_ 162 #endif // V8_ARM_FRAMES_ARM_H_
OLDNEW
« no previous file with comments | « no previous file | src/arm64/frames-arm64.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698