mirror of
https://github.com/oven-sh/bun
synced 2026-02-14 12:51:54 +00:00
Fix bug with macro remaps in Bun.Transpiler api
This commit is contained in:
@@ -87,7 +87,7 @@ static bool isTaggedUTF16Ptr(const unsigned char *ptr) {
|
||||
return (reinterpret_cast<uintptr_t>(ptr) & (static_cast<uint64_t>(1) << 63)) != 0;
|
||||
}
|
||||
|
||||
// Do we need to upcase the string?
|
||||
// Do we need to convert the string from UTF-8 to UTF-16?
|
||||
static bool isTaggedUTF8Ptr(const unsigned char *ptr) {
|
||||
return (reinterpret_cast<uintptr_t>(ptr) & (static_cast<uint64_t>(1) << 61)) != 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user