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

@@ -424,7 +424,7 @@ pub const PostgresSQLQuery = struct {
}
pub fn call(globalThis: *JSC.JSGlobalObject, callframe: *JSC.CallFrame) bun.JSError!JSC.JSValue {
const arguments = callframe.arguments(4).slice();
const arguments = callframe.arguments_old(4).slice();
const query = arguments[0];
const values = arguments[1];
const columns = arguments[3];
@@ -478,7 +478,7 @@ pub const PostgresSQLQuery = struct {
}
pub fn doRun(this: *PostgresSQLQuery, globalObject: *JSC.JSGlobalObject, callframe: *JSC.CallFrame) bun.JSError!JSValue {
var arguments_ = callframe.arguments(2);
var arguments_ = callframe.arguments_old(2);
const arguments = arguments_.slice();
var connection = arguments[0].as(PostgresSQLConnection) orelse {
globalObject.throw("connection must be a PostgresSQLConnection", .{});
@@ -1368,7 +1368,7 @@ pub const PostgresSQLConnection = struct {
pub fn call(globalObject: *JSC.JSGlobalObject, callframe: *JSC.CallFrame) bun.JSError!JSC.JSValue {
var vm = globalObject.bunVM();
const arguments = callframe.arguments(10).slice();
const arguments = callframe.arguments_old(10).slice();
const hostname_str = arguments[0].toBunString(globalObject);
defer hostname_str.deref();
const port = arguments[1].coerce(i32, globalObject);