mirror of
https://github.com/oven-sh/bun
synced 2026-02-10 10:58:56 +00:00
Update helpers.h
This commit is contained in:
@@ -72,8 +72,8 @@ namespace Zig {
|
||||
// rest we zero out for consistentcy
|
||||
static const unsigned char *untag(const unsigned char *ptr) {
|
||||
return reinterpret_cast<const unsigned char *>(
|
||||
((reinterpret_cast<uintptr_t>(ptr) & (static_cast<uint64_t>(1) << 63) &
|
||||
(static_cast<uint64_t>(1) << 62))));
|
||||
((reinterpret_cast<uintptr_t>(ptr) & ~(static_cast<uint64_t>(1) << 63) &
|
||||
~(static_cast<uint64_t>(1) << 62))));
|
||||
}
|
||||
|
||||
static const JSC::Identifier toIdentifier(ZigString str, JSC::JSGlobalObject *global) {
|
||||
|
||||
Reference in New Issue
Block a user