Skip to content

Commit 0ec2e0f

Browse files
committed
Remove unnecessary comments and debug code
1 parent 0bc6b32 commit 0ec2e0f

File tree

2 files changed

+2
-41
lines changed

2 files changed

+2
-41
lines changed

src/coreclr/debug/inc/dbgtargetcontext.h

Lines changed: 0 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -256,31 +256,6 @@ typedef struct DECLSPEC_ALIGN(16) {
256256
DWORD64 R14;
257257
DWORD64 R15;
258258

259-
// #if defined(TARGET_UNIX)
260-
// //EGPRs for APX
261-
// union {
262-
// struct {
263-
// DWORD64 R16;
264-
// DWORD64 R17;
265-
// DWORD64 R18;
266-
// DWORD64 R19;
267-
// DWORD64 R20;
268-
// DWORD64 R21;
269-
// DWORD64 R22;
270-
// DWORD64 R23;
271-
// DWORD64 R24;
272-
// DWORD64 R25;
273-
// DWORD64 R26;
274-
// DWORD64 R27;
275-
// DWORD64 R28;
276-
// DWORD64 R29;
277-
// DWORD64 R30;
278-
// DWORD64 R31;
279-
// };
280-
// DWORD64 R[16];
281-
// };
282-
// #endif // TARGET_UNIX
283-
284259
DWORD64 Rip;
285260

286261
union {

src/coreclr/vm/amd64/cgenamd64.cpp

Lines changed: 2 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -179,22 +179,8 @@ void FaultingExceptionFrame::UpdateRegDisplay_Impl(const PREGDISPLAY pRD, bool u
179179
pRD->pCurrentContextPointers->R13 = &m_ctx.R13;
180180
pRD->pCurrentContextPointers->R14 = &m_ctx.R14;
181181
pRD->pCurrentContextPointers->R15 = &m_ctx.R15;
182-
// pRD->pCurrentContextPointers->R16 = &m_ctx.R16;
183-
// pRD->pCurrentContextPointers->R17 = &m_ctx.R17;
184-
// pRD->pCurrentContextPointers->R18 = &m_ctx.R18;
185-
// pRD->pCurrentContextPointers->R19 = &m_ctx.R19;
186-
// pRD->pCurrentContextPointers->R20 = &m_ctx.R20;
187-
// pRD->pCurrentContextPointers->R21 = &m_ctx.R21;
188-
// pRD->pCurrentContextPointers->R22 = &m_ctx.R22;
189-
// pRD->pCurrentContextPointers->R23 = &m_ctx.R23;
190-
// pRD->pCurrentContextPointers->R24 = &m_ctx.R24;
191-
// pRD->pCurrentContextPointers->R25 = &m_ctx.R25;
192-
// pRD->pCurrentContextPointers->R26 = &m_ctx.R26;
193-
// pRD->pCurrentContextPointers->R27 = &m_ctx.R27;
194-
// pRD->pCurrentContextPointers->R28 = &m_ctx.R28;
195-
// pRD->pCurrentContextPointers->R29 = &m_ctx.R29;
196-
// pRD->pCurrentContextPointers->R30 = &m_ctx.R30;
197-
// pRD->pCurrentContextPointers->R31 = &m_ctx.R31;
182+
183+
// TBD APX: Do we need to update the EGPR context?
198184

199185
pRD->IsCallerContextValid = FALSE;
200186
pRD->IsCallerSPValid = FALSE; // Don't add usage of this field. This is only temporary.

0 commit comments

Comments
 (0)