Fixed misprint in legacy backend that led to assert failure
authorRoman Artemev <rartemev@microsoft.com>
Mon, 31 Jul 2017 21:53:57 +0000 (14:53 -0700)
committerRoman Artemev <rartemev@microsoft.com>
Mon, 31 Jul 2017 21:53:57 +0000 (14:53 -0700)
src/jit/codegenlegacy.cpp

index bb2a415..ea475cc 100644 (file)
@@ -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);