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

@@ -1328,7 +1328,7 @@ pub const String = extern struct {
}
pub fn jsGetStringWidth(globalObject: *JSC.JSGlobalObject, callFrame: *JSC.CallFrame) bun.JSError!JSC.JSValue {
const args = callFrame.arguments(1).slice();
const args = callFrame.arguments_old(1).slice();
if (args.len == 0 or !args.ptr[0].isString()) {
return JSC.jsNumber(@as(i32, 0));