diff options
author | 2022-03-19 00:49:14 -0700 | |
---|---|---|
committer | 2022-03-19 00:49:14 -0700 | |
commit | be99967d677ae1c0793ffe8a6c63b4f97a8468f1 (patch) | |
tree | 88c6772b96037ce8cb1f3b7fc656370dfe4c54e0 | |
parent | f787976bca3ae7ed4e9cca9bb9dccd2e40268c5b (diff) | |
download | bun-be99967d677ae1c0793ffe8a6c63b4f97a8468f1.tar.gz bun-be99967d677ae1c0793ffe8a6c63b4f97a8468f1.tar.zst bun-be99967d677ae1c0793ffe8a6c63b4f97a8468f1.zip |
no lazy
-rw-r--r-- | src/javascript/jsc/api/bun.zig | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/javascript/jsc/api/bun.zig b/src/javascript/jsc/api/bun.zig index f2917b1f5..814fd361c 100644 --- a/src/javascript/jsc/api/bun.zig +++ b/src/javascript/jsc/api/bun.zig @@ -999,14 +999,11 @@ pub const Class = NewClass( pub fn getTranspilerConstructor( _: void, ctx: js.JSContextRef, - this: js.JSValueRef, + _: js.JSValueRef, _: js.JSStringRef, _: js.ExceptionRef, ) js.JSValueRef { - var value = Transpiler.Constructor.constructor(ctx); - JSC.JSValue.fromRef(this).put(ctx.ptr(), &ZigString.init("Transpiler"), JSC.JSValue.fromRef(value)); - - return value; + return Transpiler.Constructor.constructor(ctx); } pub fn getTOMLObject( |