Fix legacy backend build when FEATURE_READYTORUN_COMPILER is undefined (#12232)
authorJarret Shook <jashoo@microsoft.com>
Tue, 13 Jun 2017 02:34:48 +0000 (19:34 -0700)
committerJan Kotas <jkotas@microsoft.com>
Tue, 13 Jun 2017 02:34:48 +0000 (19:34 -0700)
src/jit/codegenlegacy.cpp

index 4b4b0a3..bde82ff 100644 (file)
@@ -19203,12 +19203,14 @@ regMaskTP CodeGen::genCodeForCall(GenTreeCall* call, bool valUsed)
                 {
                     noway_assert(helperNum != CORINFO_HELP_UNDEF);
 
+#ifdef FEATURE_READYTORUN_COMPILER
                     if (call->gtEntryPoint.addr != NULL)
                     {
                         accessType = call->gtEntryPoint.accessType;
                         addr       = call->gtEntryPoint.addr;
                     }
                     else
+#endif // FEATURE_READYTORUN_COMPILER
                     {
                         void* pAddr;