aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/bun.js/bindings/bindings.zig4
-rw-r--r--src/bun.js/javascript_core_c_api.zig6
2 files changed, 8 insertions, 2 deletions
diff --git a/src/bun.js/bindings/bindings.zig b/src/bun.js/bindings/bindings.zig
index cc1df0b0d..278fb56dd 100644
--- a/src/bun.js/bindings/bindings.zig
+++ b/src/bun.js/bindings/bindings.zig
@@ -2883,6 +2883,8 @@ pub const JSValue = enum(JSValueReprInt) {
JSWeakMap,
JSWeakSet,
WebAssemblyModule,
+ WebAssemblyInstance,
+ WebAssemblyGCObject,
// Start StringObject s.
StringObject,
DerivedStringObject,
@@ -2940,6 +2942,8 @@ pub const JSValue = enum(JSValueReprInt) {
.Uint8Array,
.Uint8ClampedArray,
.WebAssemblyModule,
+ .WebAssemblyInstance,
+ .WebAssemblyGCObject,
=> true,
else => false,
};
diff --git a/src/bun.js/javascript_core_c_api.zig b/src/bun.js/javascript_core_c_api.zig
index 4dc1e0f6b..46ff94eba 100644
--- a/src/bun.js/javascript_core_c_api.zig
+++ b/src/bun.js/javascript_core_c_api.zig
@@ -479,8 +479,10 @@ pub const CellType = enum(u8) {
JSWeakMapType = 69,
JSWeakSetType = 70,
WebAssemblyModuleType = 71,
- StringObjectType = 72,
- DerivedStringObjectType = 73,
+ WebAssemblyInstanceType = 72,
+ WebAssemblyGCObjectType = 73,
+ StringObjectType = 74,
+ DerivedStringObjectType = 75,
MaxJSType = 255,
_,