mirror of
https://github.com/oven-sh/bun
synced 2026-02-15 05:12:29 +00:00
no usingnamespace, organize jsc namespace, enable -fincremental (#19122)
Co-authored-by: Dylan Conway <35280289+dylan-conway@users.noreply.github.com>
This commit is contained in:
@@ -56,12 +56,12 @@ pub fn create(globalThis: *JSC.JSGlobalObject) JSC.JSValue {
|
||||
return function;
|
||||
}
|
||||
|
||||
fn hashWrap(comptime Hasher_: anytype) JSC.JSHostZigFunction {
|
||||
fn hashWrap(comptime Hasher_: anytype) JSC.JSHostFnZig {
|
||||
return struct {
|
||||
const Hasher = Hasher_;
|
||||
pub fn hash(globalThis: *JSC.JSGlobalObject, callframe: *JSC.CallFrame) bun.JSError!JSC.JSValue {
|
||||
const arguments = callframe.arguments_old(2).slice();
|
||||
var args = JSC.Node.ArgumentsSlice.init(globalThis.bunVM(), arguments);
|
||||
var args = JSC.CallFrame.ArgumentsSlice.init(globalThis.bunVM(), arguments);
|
||||
defer args.deinit();
|
||||
|
||||
var input: []const u8 = "";
|
||||
|
||||
Reference in New Issue
Block a user