summaryrefslogtreecommitdiff
path: root/Source/JavaScriptCore/dfg/DFGNodeAllocator.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/JavaScriptCore/dfg/DFGNodeAllocator.h')
-rw-r--r--Source/JavaScriptCore/dfg/DFGNodeAllocator.h8
1 files changed, 1 insertions, 7 deletions
diff --git a/Source/JavaScriptCore/dfg/DFGNodeAllocator.h b/Source/JavaScriptCore/dfg/DFGNodeAllocator.h
index afd72e584..89388b5f1 100644
--- a/Source/JavaScriptCore/dfg/DFGNodeAllocator.h
+++ b/Source/JavaScriptCore/dfg/DFGNodeAllocator.h
@@ -23,10 +23,7 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef DFGNodeAllocator_h
-#define DFGNodeAllocator_h
-
-#include <wtf/Platform.h>
+#pragma once
#if ENABLE(DFG_JIT)
@@ -46,6 +43,3 @@ inline void* operator new (size_t size, JSC::DFG::NodeAllocator& allocator)
}
#endif // ENABLE(DFG_JIT)
-
-#endif // DFGNodeAllocator_h
-