Fix bug with macro remaps in Bun.Transpiler api

This commit is contained in:
Jarred Sumner
2022-02-03 01:56:02 -08:00
parent b2a69a35b8
commit 7f00482cfe
2 changed files with 8 additions and 5 deletions

View File

@@ -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;
}