summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMichal Strehovský <MichalStrehovsky@users.noreply.github.com>2018-12-08 22:48:06 +0100
committerGitHub <noreply@github.com>2018-12-08 22:48:06 +0100
commit759116b3db4b0f6e2b4306062f33b517d532217a (patch)
tree56b2727f0a73c6d283df41b8c901375fa861dbfc /src
parent98e49952213ff29ee78cb9c33dd33927a88905c6 (diff)
downloadcoreclr-759116b3db4b0f6e2b4306062f33b517d532217a.tar.gz
coreclr-759116b3db4b0f6e2b4306062f33b517d532217a.tar.bz2
coreclr-759116b3db4b0f6e2b4306062f33b517d532217a.zip
Fix regression in fat calls (#21446)
This seems to fix an AV in RyuJIT.
Diffstat (limited to 'src')
-rw-r--r--src/jit/indirectcalltransformer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/jit/indirectcalltransformer.cpp b/src/jit/indirectcalltransformer.cpp
index 40ea625287..85d6d227cb 100644
--- a/src/jit/indirectcalltransformer.cpp
+++ b/src/jit/indirectcalltransformer.cpp
@@ -172,7 +172,6 @@ private:
//
virtual void Run()
{
- origCall = GetCall(stmt);
Transform();
}
@@ -281,6 +280,7 @@ private:
: Transformer(compiler, block, stmt)
{
doesReturnValue = stmt->gtStmtExpr->OperIs(GT_ASG);
+ origCall = GetCall(stmt);
fptrAddress = origCall->gtCallAddr;
pointerType = fptrAddress->TypeGet();
}