[interpreter] Fix error: use of undeclared identifier 'g_pExecuteBackoutCodeHelperMet...
authorLeslie Zhai <zhaixiang@loongson.cn>
Wed, 13 Nov 2019 11:07:00 +0000 (19:07 +0800)
committerJan Kotas <jkotas@microsoft.com>
Wed, 13 Nov 2019 11:07:00 +0000 (12:07 +0100)
https://github.com/dotnet/coreclr/issues/27848

Commit migrated from https://github.com/dotnet/coreclr/commit/25343654668bfa83a280a4b2eec0e6d71c3aa55e

src/coreclr/src/vm/interpreter.cpp

index 360332f..fa3ee52 100644 (file)
@@ -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