diff options
author | Jonghyun Park <parjong@gmail.com> | 2017-01-24 15:50:20 +0900 |
---|---|---|
committer | Jan Kotas <jkotas@microsoft.com> | 2017-01-23 22:50:20 -0800 |
commit | 7a1185d4abce994bebb1aaa604730c79dce70186 (patch) | |
tree | 8e78fc4d6a960975571475575c5f8724dbe65526 /src/unwinder | |
parent | 378a73e9d09fae6224c406754e2df171d2236593 (diff) | |
download | coreclr-7a1185d4abce994bebb1aaa604730c79dce70186.tar.gz coreclr-7a1185d4abce994bebb1aaa604730c79dce70186.tar.bz2 coreclr-7a1185d4abce994bebb1aaa604730c79dce70186.zip |
Rename Esp in x86 REGDISPLAY as SP (#9070)
* Rename Esp in x86 REGDISPLAY as SP
* Fix x86/Windows build error
Diffstat (limited to 'src/unwinder')
-rw-r--r-- | src/unwinder/i386/unwinder_i386.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/unwinder/i386/unwinder_i386.cpp b/src/unwinder/i386/unwinder_i386.cpp index 8d2ea53793..05fa4a1540 100644 --- a/src/unwinder/i386/unwinder_i386.cpp +++ b/src/unwinder/i386/unwinder_i386.cpp @@ -92,7 +92,7 @@ OOPStackUnwinderX86::VirtualUnwind( { rd.pEbp = &(ContextRecord->Ebp); } - rd.Esp = ContextRecord->Esp; + rd.SP = ContextRecord->Esp; rd.ControlPC = (PCODE)(ContextRecord->Eip); rd.PCTAddr = (UINT_PTR)&(ContextRecord->Eip); @@ -118,7 +118,7 @@ OOPStackUnwinderX86::VirtualUnwind( #undef CALLEE_SAVED_REGISTER } - ContextRecord->Esp = rd.Esp; + ContextRecord->Esp = rd.SP; ContextRecord->Eip = rd.ControlPC; ContextRecord->Ebp = *rd.pEbp; |