projects
/
platform
/
upstream
/
dotnet
/
runtime.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
da2e2a4
)
[x86/Linux] Correct update on ResumableFrame (dotnet/coreclr#10339)
author
Jonghyun Park
<parjong@gmail.com>
Tue, 21 Mar 2017 04:26:19 +0000
(13:26 +0900)
committer
Jan Kotas
<jkotas@microsoft.com>
Tue, 21 Mar 2017 04:26:19 +0000
(21:26 -0700)
Commit migrated from https://github.com/dotnet/coreclr/commit/
beeaf0926c7eccf0a5f86b95ad5b3ed186438dc1
src/coreclr/src/vm/i386/cgenx86.cpp
patch
|
blob
|
history
diff --git
a/src/coreclr/src/vm/i386/cgenx86.cpp
b/src/coreclr/src/vm/i386/cgenx86.cpp
index
f85eb04
..
135d51e
100644
(file)
--- a/
src/coreclr/src/vm/i386/cgenx86.cpp
+++ b/
src/coreclr/src/vm/i386/cgenx86.cpp
@@
-742,7
+742,7
@@
void ResumableFrame::UpdateRegDisplay(const PREGDISPLAY pRD)
#ifdef WIN64EXCEPTIONS
-
memcpy(pRD->pCurrentContext, &m_Regs, sizeof(
CONTEXT));
+
CopyMemory(pRD->pCurrentContext, m_Regs, sizeof(T_
CONTEXT));
pRD->SP = m_Regs->Esp;
pRD->ControlPC = m_Regs->Eip;