mirror of
https://github.com/oven-sh/bun
synced 2026-02-13 04:18:58 +00:00
Upgrade to LLVM 17, fix linux debug build, upgrade JSC, remove some C API usages (#10161)
* Upgrade to LLVM 17, JSC, remove more C API usages * [autofix.ci] apply automated fixes * Update scripts/setup.sh Co-authored-by: Dylan Conway <35280289+dylan-conway@users.noreply.github.com> * more * update * bump * Fix unused variable * Fix merge conflict * [autofix.ci] apply automated fixes * Increase limit * double the limit * CI * Update CMakeLists.txt * Update CMakeLists.txt * Upgrade * Upgrade more things * Bump * Remove ld64 flag * typo * Update Dockerfile * update * Update * Up * asd * up * Upgrade * Bump! * Fix crash * Remove unnecessary cahnge * Propagate canary flag + bump macOS 13 * Upgrades --------- Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com> Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com> Co-authored-by: Dylan Conway <35280289+dylan-conway@users.noreply.github.com>
This commit is contained in:
@@ -3241,7 +3241,7 @@ private:
|
||||
if (is8Bit) {
|
||||
if ((end - ptr) < static_cast<int>(length))
|
||||
return false;
|
||||
str = Identifier::fromString(vm, reinterpret_cast<const LChar*>(ptr), length);
|
||||
str = Identifier::fromString(vm, {reinterpret_cast<const LChar*>(ptr), length});
|
||||
ptr += length;
|
||||
return true;
|
||||
}
|
||||
@@ -3251,7 +3251,7 @@ private:
|
||||
return false;
|
||||
|
||||
#if ASSUME_LITTLE_ENDIAN
|
||||
str = Identifier::fromString(vm, reinterpret_cast<const UChar*>(ptr), length);
|
||||
str = Identifier::fromString(vm, {reinterpret_cast<const UChar*>(ptr), length});
|
||||
ptr += length * sizeof(UChar);
|
||||
#else
|
||||
UChar* characters;
|
||||
|
||||
Reference in New Issue
Block a user