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

@@ -4316,7 +4316,7 @@ pub const TestingAPIs = struct {
pub fn disabledOnThisPlatform(globalThis: *JSC.JSGlobalObject, callframe: *JSC.CallFrame) bun.JSError!JSC.JSValue {
if (comptime bun.Environment.isWindows) return JSValue.false;
const arguments_ = callframe.arguments(1);
const arguments_ = callframe.arguments_old(1);
var arguments = JSC.Node.ArgumentsSlice.init(globalThis.bunVM(), arguments_.slice());
const string = arguments.nextEat() orelse {
globalThis.throw("shellInternals.disabledOnPosix: expected 1 arguments, got 0", .{});
@@ -4340,7 +4340,7 @@ pub const TestingAPIs = struct {
globalThis: *JSC.JSGlobalObject,
callframe: *JSC.CallFrame,
) bun.JSError!JSC.JSValue {
const arguments_ = callframe.arguments(2);
const arguments_ = callframe.arguments_old(2);
var arguments = JSC.Node.ArgumentsSlice.init(globalThis.bunVM(), arguments_.slice());
const string_args = arguments.nextEat() orelse {
globalThis.throw("shell_parse: expected 2 arguments, got 0", .{});
@@ -4428,7 +4428,7 @@ pub const TestingAPIs = struct {
globalThis: *JSC.JSGlobalObject,
callframe: *JSC.CallFrame,
) bun.JSError!JSC.JSValue {
const arguments_ = callframe.arguments(2);
const arguments_ = callframe.arguments_old(2);
var arguments = JSC.Node.ArgumentsSlice.init(globalThis.bunVM(), arguments_.slice());
const string_args = arguments.nextEat() orelse {
globalThis.throw("shell_parse: expected 2 arguments, got 0", .{});