From 595a2a31d024ec92972f52e639149e9fa3468bdf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Bargull?= Date: Fri, 5 Feb 2021 16:11:17 +0000 Subject: [PATCH] Bug 1689990 - Part 9: Remove unused enums BarrierKind and ReprotectCode. r=jandem Differential Revision: https://phabricator.services.mozilla.com/D103645 --- js/src/jit/IonTypes.h | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/js/src/jit/IonTypes.h b/js/src/jit/IonTypes.h index a016dfa8c07e..b7f1df13039c 100644 --- a/js/src/jit/IonTypes.h +++ b/js/src/jit/IonTypes.h @@ -907,21 +907,6 @@ static constexpr ABIFunctionType MakeABIFunctionType( return ABIFunctionType(detail::MakeABIFunctionType(ret, args)); } -enum class BarrierKind : uint32_t { - // No barrier is needed. - NoBarrier, - - // The barrier only has to check the value's type tag is in the TypeSet. - // Specific object types don't have to be checked. - TypeTagOnly, - - // Check if the value is in the TypeSet, including the object type if it's - // an object. - TypeSet -}; - -enum ReprotectCode { Reprotect = true, DontReprotect = false }; - // Rounding modes for round instructions. enum class RoundingMode { Down, Up, NearestTiesToEven, TowardsZero };