From f0b4dabb64c5200f9c04dbc8bce83a7e97392c71 Mon Sep 17 00:00:00 2001 From: Jonghyun Park Date: Fri, 2 Jun 2017 14:28:27 +0900 Subject: [PATCH] [x64/Linux] Fix FEATURE_INTERPRETER Release build (dotnet/coreclr#12046) Commit migrated from https://github.com/dotnet/coreclr/commit/95db5aa01cf19a6962d7e4d348b17d0821935858 --- src/coreclr/src/vm/interpreter.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/coreclr/src/vm/interpreter.cpp b/src/coreclr/src/vm/interpreter.cpp index 3715459..f0a7a85 100644 --- a/src/coreclr/src/vm/interpreter.cpp +++ b/src/coreclr/src/vm/interpreter.cpp @@ -2626,8 +2626,10 @@ EvalLoop: { assert(m_curStackHt > 0); m_curStackHt--; -#ifdef _DEBUG +#if defined(_DEBUG) || defined(_AMD64_) CorInfoType cit = OpStackTypeGet(m_curStackHt).ToCorInfoType(); +#endif // _DEBUG || _AMD64_ +#ifdef _DEBUG assert(cit == CORINFO_TYPE_INT || cit == CORINFO_TYPE_UINT || cit == CORINFO_TYPE_NATIVEINT); #endif // _DEBUG #if defined(_AMD64_) -- 2.7.4