From bfc34dcffc12b79cfdf4927baf8a6a4d684fb8c3 Mon Sep 17 00:00:00 2001 From: Leslie Zhai Date: Wed, 13 Nov 2019 19:07:00 +0800 Subject: [PATCH] [interpreter] Fix error: use of undeclared identifier 'g_pExecuteBackoutCodeHelperMethod' (dotnet/coreclr#27850) https://github.com/dotnet/coreclr/issues/27848 Commit migrated from https://github.com/dotnet/coreclr/commit/25343654668bfa83a280a4b2eec0e6d71c3aa55e --- src/coreclr/src/vm/interpreter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/coreclr/src/vm/interpreter.cpp b/src/coreclr/src/vm/interpreter.cpp index 360332f32d8..fa3ee522158 100644 --- a/src/coreclr/src/vm/interpreter.cpp +++ b/src/coreclr/src/vm/interpreter.cpp @@ -10210,7 +10210,7 @@ void Interpreter::CallI() } else { - pMD = g_pExecuteBackoutCodeHelperMethod; // A random static method. + pMD = MscorlibBinder::GetMethod(METHOD__INTERLOCKED__COMPARE_EXCHANGE_OBJECT); // A random static method. } MethodDescCallSite mdcs(pMD, &mSig, ftnPtr); #if 0 -- 2.34.1