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

Side by Side Diff: src/ia32/frames-ia32.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/debug.cc ('k') | src/mips/frames-mips.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_IA32_FRAMES_IA32_H_ 5 #ifndef V8_IA32_FRAMES_IA32_H_
6 #define V8_IA32_FRAMES_IA32_H_ 6 #define V8_IA32_FRAMES_IA32_H_
7 7
8 namespace v8 { 8 namespace v8 {
9 namespace internal { 9 namespace internal {
10 10
11 11
12 // Register lists 12 // Register lists
13 // Note that the bit values must match those used in actual instruction encoding 13 // Note that the bit values must match those used in actual instruction encoding
14 const int kNumRegs = 8; 14 const int kNumRegs = 8;
15 15
16 16
17 // Caller-saved registers 17 // Caller-saved registers
18 const RegList kJSCallerSaved = 18 const RegList kJSCallerSaved =
19 1 << 0 | // eax 19 1 << 0 | // eax
20 1 << 1 | // ecx 20 1 << 1 | // ecx
21 1 << 2 | // edx 21 1 << 2 | // edx
22 1 << 3 | // ebx - used as a caller-saved register in JavaScript code 22 1 << 3 | // ebx - used as a caller-saved register in JavaScript code
23 1 << 7; // edi - callee function 23 1 << 7; // edi - callee function
24 24
25 const int kNumJSCallerSaved = 5; 25 const int kNumJSCallerSaved = 5;
26 26
27 typedef Object* JSCallerSavedBuffer[kNumJSCallerSaved];
28
29 27
30 // Number of registers for which space is reserved in safepoints. 28 // Number of registers for which space is reserved in safepoints.
31 const int kNumSafepointRegisters = 8; 29 const int kNumSafepointRegisters = 8;
32 30
33 const int kNoAlignmentPadding = 0; 31 const int kNoAlignmentPadding = 0;
34 const int kAlignmentPaddingPushed = 2; 32 const int kAlignmentPaddingPushed = 2;
35 const int kAlignmentZapValue = 0x12345678; // Not heap object tagged. 33 const int kAlignmentZapValue = 0x12345678; // Not heap object tagged.
36 34
37 // ---------------------------------------------------- 35 // ----------------------------------------------------
38 36
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
118 116
119 117
120 inline void StackHandler::SetFp(Address slot, Address fp) { 118 inline void StackHandler::SetFp(Address slot, Address fp) {
121 Memory::Address_at(slot) = fp; 119 Memory::Address_at(slot) = fp;
122 } 120 }
123 121
124 122
125 } } // namespace v8::internal 123 } } // namespace v8::internal
126 124
127 #endif // V8_IA32_FRAMES_IA32_H_ 125 #endif // V8_IA32_FRAMES_IA32_H_
OLDNEW
« no previous file with comments | « src/debug.cc ('k') | src/mips/frames-mips.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698