Title: [288599] trunk/Source/_javascript_Core
- Revision
- 288599
- Author
- mark....@apple.com
- Date
- 2022-01-25 18:08:27 -0800 (Tue, 25 Jan 2022)
Log Message
Gardening: build fix for CLoop.
Not reviewed.
Code for the USE(LIBPAS_JIT_HEAP) ExecutableMemoryHandle is only built in when
ENABLE(JIT). Update the header to reflect this so that CLoop builds don't try to
link against it.
* jit/ExecutableMemoryHandle.h:
Modified Paths
Diff
Modified: trunk/Source/_javascript_Core/ChangeLog (288598 => 288599)
--- trunk/Source/_javascript_Core/ChangeLog 2022-01-26 01:37:12 UTC (rev 288598)
+++ trunk/Source/_javascript_Core/ChangeLog 2022-01-26 02:08:27 UTC (rev 288599)
@@ -1,3 +1,15 @@
+2022-01-25 Mark Lam <mark....@apple.com>
+
+ Gardening: build fix for CLoop.
+
+ Not reviewed.
+
+ Code for the USE(LIBPAS_JIT_HEAP) ExecutableMemoryHandle is only built in when
+ ENABLE(JIT). Update the header to reflect this so that CLoop builds don't try to
+ link against it.
+
+ * jit/ExecutableMemoryHandle.h:
+
2022-01-25 Yusuke Suzuki <ysuz...@apple.com>
[JSC] Wasm module import should be done in sync when WebAssembly.instantiate gets module
Modified: trunk/Source/_javascript_Core/jit/ExecutableMemoryHandle.h (288598 => 288599)
--- trunk/Source/_javascript_Core/jit/ExecutableMemoryHandle.h 2022-01-26 01:37:12 UTC (rev 288598)
+++ trunk/Source/_javascript_Core/jit/ExecutableMemoryHandle.h 2022-01-26 02:08:27 UTC (rev 288599)
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2021 Apple Inc. All rights reserved.
+ * Copyright (C) 2021-2022 Apple Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
@@ -25,7 +25,7 @@
#pragma once
-#if USE(LIBPAS_JIT_HEAP)
+#if USE(LIBPAS_JIT_HEAP) && ENABLE(JIT)
#include <wtf/MetaAllocatorPtr.h>
#include <wtf/ThreadSafeRefCounted.h>
#include <bmalloc/jit_heap.h>
@@ -35,7 +35,7 @@
namespace JSC {
-#if USE(LIBPAS_JIT_HEAP)
+#if USE(LIBPAS_JIT_HEAP) && ENABLE(JIT)
class ExecutableMemoryHandle : public ThreadSafeRefCounted<ExecutableMemoryHandle> {
WTF_MAKE_FAST_ALLOCATED_WITH_HEAP_IDENTIFIER(ExecutableMemoryHandle);
@@ -105,9 +105,9 @@
unsigned m_sizeInBytes;
MemoryPtr m_start;
};
-#else // USE(LIBPAS_JIT_HEAP) -> so start of !USE(LIBPAS_JIT_HEAP) case
+#else // not (USE(LIBPAS_JIT_HEAP) && ENABLE(JIT))
typedef WTF::MetaAllocatorHandle ExecutableMemoryHandle;
-#endif // USE(LIBPAS_JIT_HEAP) -> so end of !USE(LIBPAS_JIT_HEAP) case
+#endif // USE(LIBPAS_JIT_HEAP) && ENABLE(JIT)
} // namespace JSC
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes