LibCrypto+Everywhere: Rename *BigInteger::to_base to to_base_deprecated

This commit is contained in:
Timothy Flynn 2023-01-13 10:52:17 -05:00 committed by Linus Groh
commit 0ddc2e1f50
Notes: sideshowbarker 2024-07-17 09:49:33 +09:00
17 changed files with 24 additions and 24 deletions

View file

@ -401,7 +401,7 @@ ThrowCompletionOr<DeprecatedString> Value::to_string(VM& vm) const
return DeprecatedString::number(as_i32());
// 8. If argument is a BigInt, return BigInt::toString(argument, 10).
case BIGINT_TAG:
return as_bigint().big_integer().to_base(10);
return as_bigint().big_integer().to_base_deprecated(10);
// 9. Assert: argument is an Object.
case OBJECT_TAG: {
// 10. Let primValue be ? ToPrimitive(argument, string).