From 75adae3c465ccc0ab3547be8af44c9d4fb55ba6b Mon Sep 17 00:00:00 2001 From: win7-7 Date: Tue, 6 Jan 2026 22:13:26 +0200 Subject: [PATCH] 1331900 - Delete Label's assignment operator. Hiding it => linking error. Deleting it => compilation error. --- js/src/jit/Label.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/js/src/jit/Label.h b/js/src/jit/Label.h index 3286850e47..9f72ab646d 100644 --- a/js/src/jit/Label.h +++ b/js/src/jit/Label.h @@ -19,8 +19,8 @@ struct LabelBase int32_t offset_ : 31; bool bound_ : 1; - // Disallow assignment. - void operator =(const LabelBase& label); + void operator =(const LabelBase& label) = delete; + public: static const int32_t INVALID_OFFSET = -1;