From b507b816469734f64b0f93fe5c234fc63c54c7d3 Mon Sep 17 00:00:00 2001 From: Sergey Andreenko Date: Mon, 13 Nov 2017 10:27:26 -0800 Subject: [PATCH] check that VM set pAddr == nullptr (#15003) When VM returns addr != nullptr from getHelperFtn, it must set pAddr to nullptr. --- src/jit/lower.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/jit/lower.cpp b/src/jit/lower.cpp index b8f0403..5661741 100644 --- a/src/jit/lower.cpp +++ b/src/jit/lower.cpp @@ -2905,6 +2905,7 @@ GenTree* Lowering::LowerDirectCall(GenTreeCall* call) if (addr != nullptr) { + assert(pAddr == nullptr); accessType = IAT_VALUE; } else -- 2.7.4