summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/jit/codegenlegacy.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/jit/codegenlegacy.cpp b/src/jit/codegenlegacy.cpp
index bb2a4156ca..ea475ccebd 100644
--- a/src/jit/codegenlegacy.cpp
+++ b/src/jit/codegenlegacy.cpp
@@ -19067,7 +19067,7 @@ regMaskTP CodeGen::genCodeForCall(GenTreeCall* call, bool valUsed)
CORINFO_CONST_LOOKUP lookup;
compiler->info.compCompHnd->getAddressOfPInvokeTarget(methHnd, &lookup);
- void* addr = lookup.addr;
+ addr = lookup.addr;
assert(addr != NULL);