Skip to content

Commit

Permalink
Use the correct HijackHelper for X86 FP (dotnet#7182)
Browse files Browse the repository at this point in the history
On X86, the helper OnHijackFPTripThread must be used for hijacking
methods returning a float value.
  • Loading branch information
swaroop-sridhar authored and janvorli committed Sep 14, 2016
1 parent d2ffcb5 commit e8824a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/vm/threadsuspend.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7312,7 +7312,7 @@ VOID * GetHijackAddr(Thread *pThread, EECodeInfo *codeInfo)
#ifdef _TARGET_X86_
if (returnKind == RT_Float)
{
return reinterpret_cast<VOID *>(OnHijackTripThread);
return reinterpret_cast<VOID *>(OnHijackFPTripThread);
}
#endif // _TARGET_X86_

Expand Down

0 comments on commit e8824a7

Please sign in to comment.