From 1772391b98c2b9bcccaacb36a7c6e9181be02788 Mon Sep 17 00:00:00 2001 From: Justin Seyster Date: Thu, 31 Mar 2022 22:58:42 -0400 Subject: Remove the workaround added to suppress an ICE. --- .../mozjs/extract/js/src/jit/CacheIRCompiler.cpp | 32 ---------------------- 1 file changed, 32 deletions(-) diff --git a/src/third_party/mozjs/extract/js/src/jit/CacheIRCompiler.cpp b/src/third_party/mozjs/extract/js/src/jit/CacheIRCompiler.cpp index 971cf006f8a..fef999736ea 100644 --- a/src/third_party/mozjs/extract/js/src/jit/CacheIRCompiler.cpp +++ b/src/third_party/mozjs/extract/js/src/jit/CacheIRCompiler.cpp @@ -6375,64 +6375,32 @@ bool CacheIRCompiler::emitCompareBigIntStringResult(JSOp op, switch (op) { case JSOp::Eq: { -#ifndef _MSC_VER constexpr auto Equal = EqualityKind::Equal; -#else - // The static_cast works around an internal compiler error in MSVC. - constexpr auto Equal = static_cast(EqualityKind::Equal); -#endif callvm.call>(); break; } case JSOp::Ne: { -#ifndef _MSC_VER constexpr auto NotEqual = EqualityKind::NotEqual; -#else - // The static_cast works around an internal compiler error in MSVC. - constexpr auto NotEqual = static_cast(EqualityKind::NotEqual); -#endif callvm.call>(); break; } case JSOp::Lt: { -#ifndef _MSC_VER constexpr auto LessThan = ComparisonKind::LessThan; -#else - // The static_cast works around an internal compiler error in MSVC. - constexpr auto LessThan = static_cast(ComparisonKind::LessThan); -#endif callvm.call>(); break; } case JSOp::Gt: { -#ifndef _MSC_VER constexpr auto LessThan = ComparisonKind::LessThan; -#else - // The static_cast works around an internal compiler error in MSVC. - constexpr auto LessThan = static_cast(ComparisonKind::LessThan); -#endif callvm.call>(); break; } case JSOp::Le: { -#ifndef _MSC_VER constexpr auto GreaterThanOrEqual = ComparisonKind::GreaterThanOrEqual; -#else - // The static_cast works around an internal compiler error in MSVC. - constexpr auto GreaterThanOrEqual = - static_cast(ComparisonKind::GreaterThanOrEqual); -#endif callvm.call>(); break; } case JSOp::Ge: { -#ifndef _MSC_VER constexpr auto GreaterThanOrEqual = ComparisonKind::GreaterThanOrEqual; -#else - // The static_cast works around an internal compiler error in MSVC. - constexpr auto GreaterThanOrEqual = - static_cast(ComparisonKind::GreaterThanOrEqual); -#endif callvm.call>(); break; } -- cgit v1.2.1