Skip to content

Commit

Permalink
[x86/Linux] fix a typo of FillRegDisplay method. (dotnet#10547)
Browse files Browse the repository at this point in the history
Signed-off-by: ragmani <ragmani0216@gmail.com>
  • Loading branch information
ragmani authored and janvorli committed Mar 29, 2017
1 parent e3eecaa commit a1ad159
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/inc/regdisp.h
Original file line number Diff line number Diff line change
Expand Up @@ -396,7 +396,7 @@ inline void FillRegDisplay(const PREGDISPLAY pRD, PT_CONTEXT pctx, PT_CONTEXT pC
#elif defined(_TARGET_X86_) // _TARGET_ARM_
for (int i = 0; i < 7; i++)
{
*(&pRD->ctxPtrsOne.Esi + i) = (&pctx->Esi + i);
*(&pRD->ctxPtrsOne.Edi + i) = (&pctx->Edi + i);
}
#else // _TARGET_X86_
PORTABILITY_ASSERT("FillRegDisplay");
Expand Down

0 comments on commit a1ad159

Please sign in to comment.