Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -1546,7 +1546,8 @@ if (CMAKE_COMPILER_IS_GNUCXX AND GCC_OFFLINEASM_SOURCE_MAP)
FILE_PERMISSIONS OWNER_EXECUTE OWNER_WRITE OWNER_READ GROUP_READ GROUP_WRITE GROUP_READ WORLD_READ
DESTINATION ${JavaScriptCore_SCRIPTS_DIR}
)
set(LowLevelInterpreter_LAUNCHER "${RUBY_EXECUTABLE} ${JavaScriptCore_SCRIPTS_SOURCES_DIR}/postprocess-asm")
#use copy not actual source
set(LowLevelInterpreter_LAUNCHER "${RUBY_EXECUTABLE} ${JavaScriptCore_SCRIPTS_DIR}/postprocess-asm")
else ()
set(LowLevelInterpreter_LAUNCHER "${RUBY_EXECUTABLE} ${JavaScriptCore_SCRIPTS_SOURCES_DIR}/postprocess-asm")
endif ()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ class RefCountedBase {
protected:
RefCountedBase()
: m_refCount(1)
#if ASSERT_ENABLED
#if ASSERT_ENABLED && !PLATFORM(JAVA)
, m_isOwnedByMainThread(isMainThread())
#endif
{
Expand All @@ -107,7 +107,7 @@ class RefCountedBase {

void applyRefDerefThreadingCheck() const
{
#if ASSERT_ENABLED
#if ASSERT_ENABLED && !PLATFORM(JAVA)
if (m_refCount == 1) {
// Likely an ownership transfer across threads that may be safe.
m_isOwnedByMainThread = isMainThread();
Expand Down