From ce6b460770e24556ae54d04a20d01f79961996c0 Mon Sep 17 00:00:00 2001 From: Roman Artemev Date: Mon, 31 Jul 2017 14:53:57 -0700 Subject: [PATCH] Fixed misprint in legacy backend that led to assert failure --- src/jit/codegenlegacy.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/jit/codegenlegacy.cpp b/src/jit/codegenlegacy.cpp index bb2a415..ea475cc 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); -- 2.7.4