mirror of
https://github.com/oven-sh/bun
synced 2026-02-13 20:39:05 +00:00
zig: rename CallFrame.arguments to .arguments_old to free up decl name (#15296)
This commit is contained in:
@@ -438,7 +438,7 @@ pub fn Bun__Process__send_(
|
||||
callFrame: *JSC.CallFrame,
|
||||
) bun.JSError!JSC.JSValue {
|
||||
JSC.markBinding(@src());
|
||||
var message, var handle, var options_, var callback = callFrame.arguments(4).ptr;
|
||||
var message, var handle, var options_, var callback = callFrame.arguments_old(4).ptr;
|
||||
|
||||
if (message == .zero) message = .undefined;
|
||||
if (handle == .zero) handle = .undefined;
|
||||
@@ -458,7 +458,7 @@ pub fn Bun__Process__send_(
|
||||
|
||||
const S = struct {
|
||||
fn impl(globalThis: *JSC.JSGlobalObject, callframe: *JSC.CallFrame) bun.JSError!JSC.JSValue {
|
||||
const arguments_ = callframe.arguments(1).slice();
|
||||
const arguments_ = callframe.arguments_old(1).slice();
|
||||
const ex = arguments_[0];
|
||||
VirtualMachine.Process__emitErrorEvent(globalThis, ex);
|
||||
return .undefined;
|
||||
@@ -4543,7 +4543,7 @@ comptime {
|
||||
}
|
||||
|
||||
pub fn Bun__setSyntheticAllocationLimitForTesting(globalObject: *JSC.JSGlobalObject, callframe: *JSC.CallFrame) bun.JSError!JSValue {
|
||||
const args = callframe.arguments(1).slice();
|
||||
const args = callframe.arguments_old(1).slice();
|
||||
if (args.len < 1) {
|
||||
return globalObject.throwNotEnoughArguments("setSyntheticAllocationLimitForTesting", 1, args.len);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user