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

Side by Side Diff: src/mips/frames-mips.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 | « src/ia32/frames-ia32.h ('k') | src/x64/frames-x64.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 2011 the V8 project authors. All rights reserved. 1 // Copyright 2011 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 5
6 6
7 #ifndef V8_MIPS_FRAMES_MIPS_H_ 7 #ifndef V8_MIPS_FRAMES_MIPS_H_
8 #define V8_MIPS_FRAMES_MIPS_H_ 8 #define V8_MIPS_FRAMES_MIPS_H_
9 9
10 namespace v8 { 10 namespace v8 {
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 // multiple of 8. 80 // multiple of 8.
81 const int kNumSafepointRegisters = 24; 81 const int kNumSafepointRegisters = 24;
82 82
83 // Define the list of registers actually saved at safepoints. 83 // Define the list of registers actually saved at safepoints.
84 // Note that the number of saved registers may be smaller than the reserved 84 // Note that the number of saved registers may be smaller than the reserved
85 // space, i.e. kNumSafepointSavedRegisters <= kNumSafepointRegisters. 85 // space, i.e. kNumSafepointSavedRegisters <= kNumSafepointRegisters.
86 const RegList kSafepointSavedRegisters = kJSCallerSaved | kCalleeSaved; 86 const RegList kSafepointSavedRegisters = kJSCallerSaved | kCalleeSaved;
87 const int kNumSafepointSavedRegisters = 87 const int kNumSafepointSavedRegisters =
88 kNumJSCallerSaved + kNumCalleeSaved; 88 kNumJSCallerSaved + kNumCalleeSaved;
89 89
90 typedef Object* JSCallerSavedBuffer[kNumJSCallerSaved];
91
92 const int kUndefIndex = -1; 90 const int kUndefIndex = -1;
93 // Map with indexes on stack that corresponds to codes of saved registers. 91 // Map with indexes on stack that corresponds to codes of saved registers.
94 const int kSafepointRegisterStackIndexMap[kNumRegs] = { 92 const int kSafepointRegisterStackIndexMap[kNumRegs] = {
95 kUndefIndex, // zero_reg 93 kUndefIndex, // zero_reg
96 kUndefIndex, // at 94 kUndefIndex, // at
97 0, // v0 95 0, // v0
98 1, // v1 96 1, // v1
99 2, // a0 97 2, // a0
100 3, // a1 98 3, // a1
101 4, // a2 99 4, // a2
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
208 206
209 207
210 inline void StackHandler::SetFp(Address slot, Address fp) { 208 inline void StackHandler::SetFp(Address slot, Address fp) {
211 Memory::Address_at(slot) = fp; 209 Memory::Address_at(slot) = fp;
212 } 210 }
213 211
214 212
215 } } // namespace v8::internal 213 } } // namespace v8::internal
216 214
217 #endif 215 #endif
OLDNEW
« no previous file with comments | « src/ia32/frames-ia32.h ('k') | src/x64/frames-x64.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698