Skip to content

Commit

Permalink
__bit_cast, windows
Browse files Browse the repository at this point in the history
  • Loading branch information
zackradisic committed Oct 4, 2024
1 parent f21e2cb commit 21fef3a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Source/JavaScriptCore/ftl/FTLCommonValues.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ void CommonValues::initializeConstants(B3::Procedure& proc, B3::BasicBlock* bloc
intPtrThree = block->appendNew<ConstPtrValue>(proc, Origin(), 3);
intPtrEight = block->appendNew<ConstPtrValue>(proc, Origin(), 8);
doubleZero = block->appendNew<ConstDoubleValue>(proc, Origin(), 0.);
doubleEncodeOffsetAsDouble = block->appendNew<ConstDoubleValue>(proc, Origin(), std::bit_cast<double>(JSValue::DoubleEncodeOffset));
doubleEncodeOffsetAsDouble = block->appendNew<ConstDoubleValue>(proc, Origin(), __bit_cast<double>(JSValue::DoubleEncodeOffset));
#if USE(BIGINT32)
bigInt32Zero = block->appendNew<Const64Value>(proc, Origin(), JSValue::BigInt32Tag);
#endif
Expand Down
2 changes: 2 additions & 0 deletions Source/WTF/wtf/URL.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -335,6 +335,7 @@ URL URL::truncatedForUseAsBase() const

#if !USE(CF)

#if OS(WINDOWS)
static inline String fileSystemPathWindows(WTF::StringView host, WTF::StringView path)
{
ASSERT(path.containsOnlyASCII());
Expand All @@ -346,6 +347,7 @@ static inline String fileSystemPathWindows(WTF::StringView host, WTF::StringView
}
return decodedPath;
}
#endif

String URL::fileSystemPath() const
{
Expand Down

0 comments on commit 21fef3a

Please sign in to comment.