zig: rename CallFrame.arguments to .arguments_old to free up decl name (#15296)

This commit is contained in:
Meghan Denny
2024-11-20 16:18:56 -08:00
committed by GitHub
parent 3681aa9f0a
commit 0e3e33072b
52 changed files with 273 additions and 273 deletions

View File

@@ -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);
}