diff --git a/clang/lib/AST/ByteCode/Interp.cpp b/clang/lib/AST/ByteCode/Interp.cpp index 58bbf4aaf5f8..46d161e60470 100644 --- a/clang/lib/AST/ByteCode/Interp.cpp +++ b/clang/lib/AST/ByteCode/Interp.cpp @@ -39,9 +39,10 @@ using namespace clang::interp; // On MSVC, musttail does not guarantee tail calls in debug mode. // We disable it on MSVC generally since it doesn't seem to be able // to handle the way we use tailcalls. -// PPC can't tail-call external calls, which is a problem for InterpNext. +// MIPS and PPC can't tail-call external calls, which is a problem for +// InterpNext. #if defined(_MSC_VER) || defined(__powerpc__) || !defined(MUSTTAIL) || \ - defined(__i386__) || defined(__sparc__) + defined(__i386__) || defined(__sparc__) || defined(__mips__) #undef MUSTTAIL #define MUSTTAIL #define USE_TAILCALLS 0