From bfc065c5ccecfc2178ac80bb20a7f0217df01e3b Mon Sep 17 00:00:00 2001 From: Meghan Denny Date: Wed, 27 Dec 2023 18:33:56 -0800 Subject: [PATCH] bun.js bindings: remove redundant as-bitcast-as (#7876) --- src/bun.js/bindings/bindings.zig | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/bun.js/bindings/bindings.zig b/src/bun.js/bindings/bindings.zig index e3b956afe2..5587c86f54 100644 --- a/src/bun.js/bindings/bindings.zig +++ b/src/bun.js/bindings/bindings.zig @@ -3067,10 +3067,10 @@ pub const JSMap = opaque { pub const JSValueReprInt = i64; pub const JSValue = enum(JSValueReprInt) { zero = 0, - undefined = @as(JSValueReprInt, @bitCast(@as(i64, 0xa))), - null = @as(JSValueReprInt, @bitCast(@as(i64, 0x2))), + undefined = 0xa, + null = 0x2, true = FFI.TrueI64, - false = @as(JSValueReprInt, @bitCast(@as(i64, 0x6))), + false = 0x6, _, pub const Type = JSValueReprInt;