diff options
Diffstat (limited to 'src/vm/frames.cpp')
-rw-r--r-- | src/vm/frames.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/vm/frames.cpp b/src/vm/frames.cpp index f4d96e5f5d..0a2fe2c55d 100644 --- a/src/vm/frames.cpp +++ b/src/vm/frames.cpp @@ -1823,6 +1823,7 @@ BOOL HelperMethodFrame::InsureInit(bool initialInit, // Work with a copy so that we only write the values once. // this avoids race conditions. LazyMachState* lazy = &m_MachState; + DWORD threadId = m_pThread->GetOSThreadId(); MachState unwound; if (!initialInit && @@ -1832,6 +1833,7 @@ BOOL HelperMethodFrame::InsureInit(bool initialInit, LazyMachState::unwindLazyState( lazy, &unwound, + threadId, 0, hostCallPreference); @@ -1859,12 +1861,12 @@ BOOL HelperMethodFrame::InsureInit(bool initialInit, (m_Attribs & Frame::FRAME_ATTR_CAPTURE_DEPTH_2) != 0) { // explictly told depth - LazyMachState::unwindLazyState(lazy, &unwound, 2); + LazyMachState::unwindLazyState(lazy, &unwound, threadId, 2); } else { // True FCall - LazyMachState::unwindLazyState(lazy, &unwound, 1); + LazyMachState::unwindLazyState(lazy, &unwound, threadId, 1); } _ASSERTE(unwound.isValid()); |