Title: [247813] trunk/Source/WebCore
Revision
247813
Author
[email protected]
Date
2019-07-24 19:40:05 -0700 (Wed, 24 Jul 2019)

Log Message

[WHLSL] Use bmalloc instead of system malloc for WHLSL data structures
https://bugs.webkit.org/show_bug.cgi?id=200063

Rubber-stamped by Sam Weinig.

This is a 25-30% WHLSL compile time speedup on Justin's textured-cube demo
and a ~40% compile time speedup on the hello-cube demo.

The phases that speed up from this are:
checker
includeStandardLibrary
autoInitializeVariables
resolveProperties

* Modules/webgpu/WHLSL/AST/WHLSLAddressSpace.h:
* Modules/webgpu/WHLSL/AST/WHLSLArrayReferenceType.h:
* Modules/webgpu/WHLSL/AST/WHLSLArrayType.h:
* Modules/webgpu/WHLSL/AST/WHLSLAssignmentExpression.h:
* Modules/webgpu/WHLSL/AST/WHLSLBaseFunctionAttribute.h:
* Modules/webgpu/WHLSL/AST/WHLSLBaseSemantic.h:
* Modules/webgpu/WHLSL/AST/WHLSLBlock.h:
* Modules/webgpu/WHLSL/AST/WHLSLBooleanLiteral.h:
* Modules/webgpu/WHLSL/AST/WHLSLBreak.h:
* Modules/webgpu/WHLSL/AST/WHLSLBuiltInSemantic.h:
* Modules/webgpu/WHLSL/AST/WHLSLCallExpression.h:
* Modules/webgpu/WHLSL/AST/WHLSLCommaExpression.h:
* Modules/webgpu/WHLSL/AST/WHLSLConstantExpression.h:
* Modules/webgpu/WHLSL/AST/WHLSLContinue.h:
* Modules/webgpu/WHLSL/AST/WHLSLDereferenceExpression.h:
* Modules/webgpu/WHLSL/AST/WHLSLDoWhileLoop.h:
* Modules/webgpu/WHLSL/AST/WHLSLDotExpression.h:
* Modules/webgpu/WHLSL/AST/WHLSLEffectfulExpressionStatement.h:
* Modules/webgpu/WHLSL/AST/WHLSLEnumerationDefinition.h:
* Modules/webgpu/WHLSL/AST/WHLSLEnumerationMember.h:
* Modules/webgpu/WHLSL/AST/WHLSLEnumerationMemberLiteral.h:
* Modules/webgpu/WHLSL/AST/WHLSLExpression.h:
* Modules/webgpu/WHLSL/AST/WHLSLFallthrough.h:
* Modules/webgpu/WHLSL/AST/WHLSLFloatLiteral.h:
* Modules/webgpu/WHLSL/AST/WHLSLFloatLiteralType.h:
* Modules/webgpu/WHLSL/AST/WHLSLForLoop.h:
* Modules/webgpu/WHLSL/AST/WHLSLFunctionDeclaration.h:
* Modules/webgpu/WHLSL/AST/WHLSLFunctionDefinition.h:
* Modules/webgpu/WHLSL/AST/WHLSLGlobalVariableReference.h:
* Modules/webgpu/WHLSL/AST/WHLSLIfStatement.h:
* Modules/webgpu/WHLSL/AST/WHLSLIndexExpression.h:
* Modules/webgpu/WHLSL/AST/WHLSLIntegerLiteral.h:
* Modules/webgpu/WHLSL/AST/WHLSLIntegerLiteralType.h:
* Modules/webgpu/WHLSL/AST/WHLSLLogicalExpression.h:
* Modules/webgpu/WHLSL/AST/WHLSLLogicalNotExpression.h:
* Modules/webgpu/WHLSL/AST/WHLSLMakeArrayReferenceExpression.h:
* Modules/webgpu/WHLSL/AST/WHLSLMakePointerExpression.h:
* Modules/webgpu/WHLSL/AST/WHLSLNamedType.h:
* Modules/webgpu/WHLSL/AST/WHLSLNativeFunctionDeclaration.h:
* Modules/webgpu/WHLSL/AST/WHLSLNativeTypeDeclaration.h:
* Modules/webgpu/WHLSL/AST/WHLSLNullLiteral.h:
* Modules/webgpu/WHLSL/AST/WHLSLNullLiteralType.h:
* Modules/webgpu/WHLSL/AST/WHLSLNumThreadsFunctionAttribute.h:
* Modules/webgpu/WHLSL/AST/WHLSLPointerType.h:
* Modules/webgpu/WHLSL/AST/WHLSLPropertyAccessExpression.h:
* Modules/webgpu/WHLSL/AST/WHLSLReadModifyWriteExpression.h:
* Modules/webgpu/WHLSL/AST/WHLSLReferenceType.h:
* Modules/webgpu/WHLSL/AST/WHLSLResolvableType.h:
* Modules/webgpu/WHLSL/AST/WHLSLResourceSemantic.h:
* Modules/webgpu/WHLSL/AST/WHLSLReturn.h:
* Modules/webgpu/WHLSL/AST/WHLSLSpecializationConstantSemantic.h:
* Modules/webgpu/WHLSL/AST/WHLSLStageInOutSemantic.h:
* Modules/webgpu/WHLSL/AST/WHLSLStatement.h:
* Modules/webgpu/WHLSL/AST/WHLSLStatementList.h:
* Modules/webgpu/WHLSL/AST/WHLSLStructureDefinition.h:
* Modules/webgpu/WHLSL/AST/WHLSLStructureElement.h:
* Modules/webgpu/WHLSL/AST/WHLSLSwitchCase.h:
* Modules/webgpu/WHLSL/AST/WHLSLSwitchStatement.h:
* Modules/webgpu/WHLSL/AST/WHLSLTernaryExpression.h:
* Modules/webgpu/WHLSL/AST/WHLSLType.h:
* Modules/webgpu/WHLSL/AST/WHLSLTypeDefinition.h:
* Modules/webgpu/WHLSL/AST/WHLSLTypeReference.h:
* Modules/webgpu/WHLSL/AST/WHLSLUnnamedType.h:
* Modules/webgpu/WHLSL/AST/WHLSLUnsignedIntegerLiteral.h:
* Modules/webgpu/WHLSL/AST/WHLSLUnsignedIntegerLiteralType.h:
* Modules/webgpu/WHLSL/AST/WHLSLVariableDeclaration.h:
* Modules/webgpu/WHLSL/AST/WHLSLVariableDeclarationsStatement.h:
* Modules/webgpu/WHLSL/AST/WHLSLVariableReference.h:
* Modules/webgpu/WHLSL/AST/WHLSLWhileLoop.h:
* Modules/webgpu/WHLSL/Metal/WHLSLTypeNamer.cpp:

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (247812 => 247813)


--- trunk/Source/WebCore/ChangeLog	2019-07-25 02:25:05 UTC (rev 247812)
+++ trunk/Source/WebCore/ChangeLog	2019-07-25 02:40:05 UTC (rev 247813)
@@ -1,3 +1,90 @@
+2019-07-24  Saam Barati  <[email protected]>
+
+        [WHLSL] Use bmalloc instead of system malloc for WHLSL data structures
+        https://bugs.webkit.org/show_bug.cgi?id=200063
+
+        Rubber-stamped by Sam Weinig.
+
+        This is a 25-30% WHLSL compile time speedup on Justin's textured-cube demo
+        and a ~40% compile time speedup on the hello-cube demo.
+        
+        The phases that speed up from this are:
+        checker
+        includeStandardLibrary
+        autoInitializeVariables
+        resolveProperties
+
+        * Modules/webgpu/WHLSL/AST/WHLSLAddressSpace.h:
+        * Modules/webgpu/WHLSL/AST/WHLSLArrayReferenceType.h:
+        * Modules/webgpu/WHLSL/AST/WHLSLArrayType.h:
+        * Modules/webgpu/WHLSL/AST/WHLSLAssignmentExpression.h:
+        * Modules/webgpu/WHLSL/AST/WHLSLBaseFunctionAttribute.h:
+        * Modules/webgpu/WHLSL/AST/WHLSLBaseSemantic.h:
+        * Modules/webgpu/WHLSL/AST/WHLSLBlock.h:
+        * Modules/webgpu/WHLSL/AST/WHLSLBooleanLiteral.h:
+        * Modules/webgpu/WHLSL/AST/WHLSLBreak.h:
+        * Modules/webgpu/WHLSL/AST/WHLSLBuiltInSemantic.h:
+        * Modules/webgpu/WHLSL/AST/WHLSLCallExpression.h:
+        * Modules/webgpu/WHLSL/AST/WHLSLCommaExpression.h:
+        * Modules/webgpu/WHLSL/AST/WHLSLConstantExpression.h:
+        * Modules/webgpu/WHLSL/AST/WHLSLContinue.h:
+        * Modules/webgpu/WHLSL/AST/WHLSLDereferenceExpression.h:
+        * Modules/webgpu/WHLSL/AST/WHLSLDoWhileLoop.h:
+        * Modules/webgpu/WHLSL/AST/WHLSLDotExpression.h:
+        * Modules/webgpu/WHLSL/AST/WHLSLEffectfulExpressionStatement.h:
+        * Modules/webgpu/WHLSL/AST/WHLSLEnumerationDefinition.h:
+        * Modules/webgpu/WHLSL/AST/WHLSLEnumerationMember.h:
+        * Modules/webgpu/WHLSL/AST/WHLSLEnumerationMemberLiteral.h:
+        * Modules/webgpu/WHLSL/AST/WHLSLExpression.h:
+        * Modules/webgpu/WHLSL/AST/WHLSLFallthrough.h:
+        * Modules/webgpu/WHLSL/AST/WHLSLFloatLiteral.h:
+        * Modules/webgpu/WHLSL/AST/WHLSLFloatLiteralType.h:
+        * Modules/webgpu/WHLSL/AST/WHLSLForLoop.h:
+        * Modules/webgpu/WHLSL/AST/WHLSLFunctionDeclaration.h:
+        * Modules/webgpu/WHLSL/AST/WHLSLFunctionDefinition.h:
+        * Modules/webgpu/WHLSL/AST/WHLSLGlobalVariableReference.h:
+        * Modules/webgpu/WHLSL/AST/WHLSLIfStatement.h:
+        * Modules/webgpu/WHLSL/AST/WHLSLIndexExpression.h:
+        * Modules/webgpu/WHLSL/AST/WHLSLIntegerLiteral.h:
+        * Modules/webgpu/WHLSL/AST/WHLSLIntegerLiteralType.h:
+        * Modules/webgpu/WHLSL/AST/WHLSLLogicalExpression.h:
+        * Modules/webgpu/WHLSL/AST/WHLSLLogicalNotExpression.h:
+        * Modules/webgpu/WHLSL/AST/WHLSLMakeArrayReferenceExpression.h:
+        * Modules/webgpu/WHLSL/AST/WHLSLMakePointerExpression.h:
+        * Modules/webgpu/WHLSL/AST/WHLSLNamedType.h:
+        * Modules/webgpu/WHLSL/AST/WHLSLNativeFunctionDeclaration.h:
+        * Modules/webgpu/WHLSL/AST/WHLSLNativeTypeDeclaration.h:
+        * Modules/webgpu/WHLSL/AST/WHLSLNullLiteral.h:
+        * Modules/webgpu/WHLSL/AST/WHLSLNullLiteralType.h:
+        * Modules/webgpu/WHLSL/AST/WHLSLNumThreadsFunctionAttribute.h:
+        * Modules/webgpu/WHLSL/AST/WHLSLPointerType.h:
+        * Modules/webgpu/WHLSL/AST/WHLSLPropertyAccessExpression.h:
+        * Modules/webgpu/WHLSL/AST/WHLSLReadModifyWriteExpression.h:
+        * Modules/webgpu/WHLSL/AST/WHLSLReferenceType.h:
+        * Modules/webgpu/WHLSL/AST/WHLSLResolvableType.h:
+        * Modules/webgpu/WHLSL/AST/WHLSLResourceSemantic.h:
+        * Modules/webgpu/WHLSL/AST/WHLSLReturn.h:
+        * Modules/webgpu/WHLSL/AST/WHLSLSpecializationConstantSemantic.h:
+        * Modules/webgpu/WHLSL/AST/WHLSLStageInOutSemantic.h:
+        * Modules/webgpu/WHLSL/AST/WHLSLStatement.h:
+        * Modules/webgpu/WHLSL/AST/WHLSLStatementList.h:
+        * Modules/webgpu/WHLSL/AST/WHLSLStructureDefinition.h:
+        * Modules/webgpu/WHLSL/AST/WHLSLStructureElement.h:
+        * Modules/webgpu/WHLSL/AST/WHLSLSwitchCase.h:
+        * Modules/webgpu/WHLSL/AST/WHLSLSwitchStatement.h:
+        * Modules/webgpu/WHLSL/AST/WHLSLTernaryExpression.h:
+        * Modules/webgpu/WHLSL/AST/WHLSLType.h:
+        * Modules/webgpu/WHLSL/AST/WHLSLTypeDefinition.h:
+        * Modules/webgpu/WHLSL/AST/WHLSLTypeReference.h:
+        * Modules/webgpu/WHLSL/AST/WHLSLUnnamedType.h:
+        * Modules/webgpu/WHLSL/AST/WHLSLUnsignedIntegerLiteral.h:
+        * Modules/webgpu/WHLSL/AST/WHLSLUnsignedIntegerLiteralType.h:
+        * Modules/webgpu/WHLSL/AST/WHLSLVariableDeclaration.h:
+        * Modules/webgpu/WHLSL/AST/WHLSLVariableDeclarationsStatement.h:
+        * Modules/webgpu/WHLSL/AST/WHLSLVariableReference.h:
+        * Modules/webgpu/WHLSL/AST/WHLSLWhileLoop.h:
+        * Modules/webgpu/WHLSL/Metal/WHLSLTypeNamer.cpp:
+
 2019-07-24  Devin Rousso  <[email protected]>
 
         Web Inspector: support `console.screenshot` with ImageData and ImageBitmap

Modified: trunk/Source/WebCore/Modules/webgpu/WHLSL/AST/WHLSLAddressSpace.h (247812 => 247813)


--- trunk/Source/WebCore/Modules/webgpu/WHLSL/AST/WHLSLAddressSpace.h	2019-07-25 02:25:05 UTC (rev 247812)
+++ trunk/Source/WebCore/Modules/webgpu/WHLSL/AST/WHLSLAddressSpace.h	2019-07-25 02:40:05 UTC (rev 247813)
@@ -28,6 +28,7 @@
 #if ENABLE(WEBGPU)
 
 #include <cstdint>
+#include <wtf/FastMalloc.h>
 #include <wtf/Variant.h>
 
 namespace WebCore {
@@ -70,6 +71,7 @@
 
 // FIXME: https://bugs.webkit.org/show_bug.cgi?id=198158 This wrapper might not be necessary.
 class TypeAnnotation {
+    WTF_MAKE_FAST_ALLOCATED;
 public:
     TypeAnnotation()
 #if !ASSERT_DISABLED

Modified: trunk/Source/WebCore/Modules/webgpu/WHLSL/AST/WHLSLArrayReferenceType.h (247812 => 247813)


--- trunk/Source/WebCore/Modules/webgpu/WHLSL/AST/WHLSLArrayReferenceType.h	2019-07-25 02:25:05 UTC (rev 247812)
+++ trunk/Source/WebCore/Modules/webgpu/WHLSL/AST/WHLSLArrayReferenceType.h	2019-07-25 02:40:05 UTC (rev 247813)
@@ -29,6 +29,7 @@
 
 #include "WHLSLLexer.h"
 #include "WHLSLReferenceType.h"
+#include <wtf/FastMalloc.h>
 #include <wtf/UniqueRef.h>
 #include <wtf/text/WTFString.h>
 
@@ -39,6 +40,7 @@
 namespace AST {
 
 class ArrayReferenceType : public ReferenceType {
+    WTF_MAKE_FAST_ALLOCATED;
     using Base = ReferenceType;
 public:
     ArrayReferenceType(CodeLocation location, AddressSpace addressSpace, UniqueRef<UnnamedType>&& elementType)

Modified: trunk/Source/WebCore/Modules/webgpu/WHLSL/AST/WHLSLArrayType.h (247812 => 247813)


--- trunk/Source/WebCore/Modules/webgpu/WHLSL/AST/WHLSLArrayType.h	2019-07-25 02:25:05 UTC (rev 247812)
+++ trunk/Source/WebCore/Modules/webgpu/WHLSL/AST/WHLSLArrayType.h	2019-07-25 02:40:05 UTC (rev 247813)
@@ -30,6 +30,7 @@
 #include "WHLSLLexer.h"
 #include "WHLSLTypeArgument.h"
 #include "WHLSLUnnamedType.h"
+#include <wtf/FastMalloc.h>
 #include <wtf/UniqueRef.h>
 #include <wtf/text/WTFString.h>
 
@@ -40,6 +41,7 @@
 namespace AST {
 
 class ArrayType : public UnnamedType {
+    WTF_MAKE_FAST_ALLOCATED;
 public:
     ArrayType(CodeLocation location, UniqueRef<UnnamedType>&& elementType, unsigned numElements)
         : UnnamedType(location)

Modified: trunk/Source/WebCore/Modules/webgpu/WHLSL/AST/WHLSLAssignmentExpression.h (247812 => 247813)


--- trunk/Source/WebCore/Modules/webgpu/WHLSL/AST/WHLSLAssignmentExpression.h	2019-07-25 02:25:05 UTC (rev 247812)
+++ trunk/Source/WebCore/Modules/webgpu/WHLSL/AST/WHLSLAssignmentExpression.h	2019-07-25 02:40:05 UTC (rev 247813)
@@ -29,6 +29,7 @@
 
 #include "WHLSLExpression.h"
 #include "WHLSLLexer.h"
+#include <wtf/FastMalloc.h>
 #include <wtf/UniqueRef.h>
 
 namespace WebCore {
@@ -38,6 +39,7 @@
 namespace AST {
 
 class AssignmentExpression : public _expression_ {
+    WTF_MAKE_FAST_ALLOCATED;
 public:
     AssignmentExpression(CodeLocation location, UniqueRef<_expression_>&& left, UniqueRef<_expression_>&& right)
         : _expression_(location)

Modified: trunk/Source/WebCore/Modules/webgpu/WHLSL/AST/WHLSLBaseFunctionAttribute.h (247812 => 247813)


--- trunk/Source/WebCore/Modules/webgpu/WHLSL/AST/WHLSLBaseFunctionAttribute.h	2019-07-25 02:25:05 UTC (rev 247812)
+++ trunk/Source/WebCore/Modules/webgpu/WHLSL/AST/WHLSLBaseFunctionAttribute.h	2019-07-25 02:40:05 UTC (rev 247813)
@@ -28,6 +28,7 @@
 #if ENABLE(WEBGPU)
 
 #include "WHLSLLexer.h"
+#include <wtf/FastMalloc.h>
 
 namespace WebCore {
 
@@ -36,6 +37,7 @@
 namespace AST {
 
 class BaseFunctionAttribute {
+    WTF_MAKE_FAST_ALLOCATED;
 public:
     BaseFunctionAttribute(CodeLocation location)
         : m_codeLocation(location)

Modified: trunk/Source/WebCore/Modules/webgpu/WHLSL/AST/WHLSLBaseSemantic.h (247812 => 247813)


--- trunk/Source/WebCore/Modules/webgpu/WHLSL/AST/WHLSLBaseSemantic.h	2019-07-25 02:25:05 UTC (rev 247812)
+++ trunk/Source/WebCore/Modules/webgpu/WHLSL/AST/WHLSLBaseSemantic.h	2019-07-25 02:40:05 UTC (rev 247813)
@@ -29,6 +29,7 @@
 
 #include "WHLSLEntryPointType.h"
 #include "WHLSLLexer.h"
+#include <wtf/FastMalloc.h>
 #include <wtf/Optional.h>
 
 namespace WebCore {
@@ -43,6 +44,7 @@
 class UnnamedType;
 
 class BaseSemantic {
+    WTF_MAKE_FAST_ALLOCATED;
 public:
     BaseSemantic(CodeLocation location)
         : m_codeLocation(location)

Modified: trunk/Source/WebCore/Modules/webgpu/WHLSL/AST/WHLSLBlock.h (247812 => 247813)


--- trunk/Source/WebCore/Modules/webgpu/WHLSL/AST/WHLSLBlock.h	2019-07-25 02:25:05 UTC (rev 247812)
+++ trunk/Source/WebCore/Modules/webgpu/WHLSL/AST/WHLSLBlock.h	2019-07-25 02:40:05 UTC (rev 247813)
@@ -29,6 +29,7 @@
 
 #include "WHLSLLexer.h"
 #include "WHLSLStatement.h"
+#include <wtf/FastMalloc.h>
 #include <wtf/Vector.h>
 
 namespace WebCore {
@@ -38,6 +39,7 @@
 namespace AST {
 
 class Block : public Statement {
+    WTF_MAKE_FAST_ALLOCATED;
 public:
     Block(CodeLocation location, Statements&& statements)
         : Statement(location)

Modified: trunk/Source/WebCore/Modules/webgpu/WHLSL/AST/WHLSLBooleanLiteral.h (247812 => 247813)


--- trunk/Source/WebCore/Modules/webgpu/WHLSL/AST/WHLSLBooleanLiteral.h	2019-07-25 02:25:05 UTC (rev 247812)
+++ trunk/Source/WebCore/Modules/webgpu/WHLSL/AST/WHLSLBooleanLiteral.h	2019-07-25 02:40:05 UTC (rev 247813)
@@ -29,6 +29,7 @@
 
 #include "WHLSLExpression.h"
 #include "WHLSLLexer.h"
+#include <wtf/FastMalloc.h>
 
 namespace WebCore {
 
@@ -37,6 +38,7 @@
 namespace AST {
 
 class BooleanLiteral : public _expression_ {
+    WTF_MAKE_FAST_ALLOCATED;
 public:
     BooleanLiteral(CodeLocation location, bool value)
         : _expression_(location)

Modified: trunk/Source/WebCore/Modules/webgpu/WHLSL/AST/WHLSLBreak.h (247812 => 247813)


--- trunk/Source/WebCore/Modules/webgpu/WHLSL/AST/WHLSLBreak.h	2019-07-25 02:25:05 UTC (rev 247812)
+++ trunk/Source/WebCore/Modules/webgpu/WHLSL/AST/WHLSLBreak.h	2019-07-25 02:40:05 UTC (rev 247813)
@@ -29,6 +29,7 @@
 
 #include "WHLSLLexer.h"
 #include "WHLSLStatement.h"
+#include <wtf/FastMalloc.h>
 
 namespace WebCore {
 
@@ -37,6 +38,7 @@
 namespace AST {
 
 class Break : public Statement {
+    WTF_MAKE_FAST_ALLOCATED;
 public:
     Break(CodeLocation location)
         : Statement(location)

Modified: trunk/Source/WebCore/Modules/webgpu/WHLSL/AST/WHLSLBuiltInSemantic.h (247812 => 247813)


--- trunk/Source/WebCore/Modules/webgpu/WHLSL/AST/WHLSLBuiltInSemantic.h	2019-07-25 02:25:05 UTC (rev 247812)
+++ trunk/Source/WebCore/Modules/webgpu/WHLSL/AST/WHLSLBuiltInSemantic.h	2019-07-25 02:40:05 UTC (rev 247813)
@@ -29,6 +29,7 @@
 
 #include "WHLSLBaseSemantic.h"
 #include "WHLSLLexer.h"
+#include <wtf/FastMalloc.h>
 #include <wtf/Optional.h>
 
 namespace WebCore {
@@ -38,6 +39,7 @@
 namespace AST {
 
 class BuiltInSemantic : public BaseSemantic {
+    WTF_MAKE_FAST_ALLOCATED;
 public:
     enum class Variable : uint8_t {
         SVInstanceID,

Modified: trunk/Source/WebCore/Modules/webgpu/WHLSL/AST/WHLSLCallExpression.h (247812 => 247813)


--- trunk/Source/WebCore/Modules/webgpu/WHLSL/AST/WHLSLCallExpression.h	2019-07-25 02:25:05 UTC (rev 247812)
+++ trunk/Source/WebCore/Modules/webgpu/WHLSL/AST/WHLSLCallExpression.h	2019-07-25 02:40:05 UTC (rev 247813)
@@ -30,6 +30,7 @@
 #include "WHLSLExpression.h"
 #include "WHLSLFunctionDeclaration.h"
 #include "WHLSLLexer.h"
+#include <wtf/FastMalloc.h>
 #include <wtf/UniqueRef.h>
 
 namespace WebCore {
@@ -41,6 +42,7 @@
 class NamedType;
 
 class CallExpression : public _expression_ {
+    WTF_MAKE_FAST_ALLOCATED;
 public:
     CallExpression(CodeLocation location, String&& name, Vector<UniqueRef<_expression_>>&& arguments)
         : _expression_(location)

Modified: trunk/Source/WebCore/Modules/webgpu/WHLSL/AST/WHLSLCommaExpression.h (247812 => 247813)


--- trunk/Source/WebCore/Modules/webgpu/WHLSL/AST/WHLSLCommaExpression.h	2019-07-25 02:25:05 UTC (rev 247812)
+++ trunk/Source/WebCore/Modules/webgpu/WHLSL/AST/WHLSLCommaExpression.h	2019-07-25 02:40:05 UTC (rev 247813)
@@ -29,6 +29,7 @@
 
 #include "WHLSLExpression.h"
 #include "WHLSLLexer.h"
+#include <wtf/FastMalloc.h>
 #include <wtf/UniqueRef.h>
 #include <wtf/Vector.h>
 
@@ -39,6 +40,7 @@
 namespace AST {
 
 class CommaExpression : public _expression_ {
+    WTF_MAKE_FAST_ALLOCATED;
 public:
     CommaExpression(CodeLocation location, Vector<UniqueRef<_expression_>>&& list)
         : _expression_(location)

Modified: trunk/Source/WebCore/Modules/webgpu/WHLSL/AST/WHLSLConstantExpression.h (247812 => 247813)


--- trunk/Source/WebCore/Modules/webgpu/WHLSL/AST/WHLSLConstantExpression.h	2019-07-25 02:25:05 UTC (rev 247812)
+++ trunk/Source/WebCore/Modules/webgpu/WHLSL/AST/WHLSLConstantExpression.h	2019-07-25 02:40:05 UTC (rev 247813)
@@ -33,6 +33,7 @@
 #include "WHLSLIntegerLiteral.h"
 #include "WHLSLNullLiteral.h"
 #include "WHLSLUnsignedIntegerLiteral.h"
+#include <wtf/FastMalloc.h>
 #include <wtf/Variant.h>
 
 namespace WebCore {
@@ -45,6 +46,7 @@
 // so this is a wrapper class to make sure that doesn't happen. As soon as we don't
 // have to support Sierra, this can be migrated to a Variant proper.
 class ConstantExpression {
+    WTF_MAKE_FAST_ALLOCATED;
 public:
     ConstantExpression(IntegerLiteral&& integerLiteral)
         : m_variant(WTFMove(integerLiteral))

Modified: trunk/Source/WebCore/Modules/webgpu/WHLSL/AST/WHLSLContinue.h (247812 => 247813)


--- trunk/Source/WebCore/Modules/webgpu/WHLSL/AST/WHLSLContinue.h	2019-07-25 02:25:05 UTC (rev 247812)
+++ trunk/Source/WebCore/Modules/webgpu/WHLSL/AST/WHLSLContinue.h	2019-07-25 02:40:05 UTC (rev 247813)
@@ -29,6 +29,7 @@
 
 #include "WHLSLLexer.h"
 #include "WHLSLStatement.h"
+#include <wtf/FastMalloc.h>
 
 namespace WebCore {
 
@@ -37,6 +38,7 @@
 namespace AST {
 
 class Continue : public Statement {
+    WTF_MAKE_FAST_ALLOCATED;
 public:
     Continue(CodeLocation location)
         : Statement(location)

Modified: trunk/Source/WebCore/Modules/webgpu/WHLSL/AST/WHLSLDereferenceExpression.h (247812 => 247813)


--- trunk/Source/WebCore/Modules/webgpu/WHLSL/AST/WHLSLDereferenceExpression.h	2019-07-25 02:25:05 UTC (rev 247812)
+++ trunk/Source/WebCore/Modules/webgpu/WHLSL/AST/WHLSLDereferenceExpression.h	2019-07-25 02:40:05 UTC (rev 247813)
@@ -29,6 +29,7 @@
 
 #include "WHLSLExpression.h"
 #include "WHLSLLexer.h"
+#include <wtf/FastMalloc.h>
 #include <wtf/UniqueRef.h>
 
 namespace WebCore {
@@ -38,6 +39,7 @@
 namespace AST {
 
 class DereferenceExpression : public _expression_ {
+    WTF_MAKE_FAST_ALLOCATED;
 public:
     DereferenceExpression(CodeLocation location, UniqueRef<_expression_>&& pointer)
         : _expression_(location)

Modified: trunk/Source/WebCore/Modules/webgpu/WHLSL/AST/WHLSLDoWhileLoop.h (247812 => 247813)


--- trunk/Source/WebCore/Modules/webgpu/WHLSL/AST/WHLSLDoWhileLoop.h	2019-07-25 02:25:05 UTC (rev 247812)
+++ trunk/Source/WebCore/Modules/webgpu/WHLSL/AST/WHLSLDoWhileLoop.h	2019-07-25 02:40:05 UTC (rev 247813)
@@ -30,6 +30,7 @@
 #include "WHLSLExpression.h"
 #include "WHLSLLexer.h"
 #include "WHLSLStatement.h"
+#include <wtf/FastMalloc.h>
 #include <wtf/UniqueRef.h>
 
 namespace WebCore {
@@ -39,6 +40,7 @@
 namespace AST {
 
 class DoWhileLoop : public Statement {
+    WTF_MAKE_FAST_ALLOCATED;
 public:
     DoWhileLoop(CodeLocation location, UniqueRef<Statement>&& body, UniqueRef<_expression_>&& conditional)
         : Statement(location)

Modified: trunk/Source/WebCore/Modules/webgpu/WHLSL/AST/WHLSLDotExpression.h (247812 => 247813)


--- trunk/Source/WebCore/Modules/webgpu/WHLSL/AST/WHLSLDotExpression.h	2019-07-25 02:25:05 UTC (rev 247812)
+++ trunk/Source/WebCore/Modules/webgpu/WHLSL/AST/WHLSLDotExpression.h	2019-07-25 02:40:05 UTC (rev 247813)
@@ -29,6 +29,7 @@
 
 #include "WHLSLLexer.h"
 #include "WHLSLPropertyAccessExpression.h"
+#include <wtf/FastMalloc.h>
 #include <wtf/UniqueRef.h>
 #include <wtf/text/StringConcatenate.h>
 
@@ -39,6 +40,7 @@
 namespace AST {
 
 class DotExpression : public PropertyAccessExpression {
+    WTF_MAKE_FAST_ALLOCATED;
 public:
     DotExpression(CodeLocation location, UniqueRef<_expression_>&& base, String&& fieldName)
         : PropertyAccessExpression(location, WTFMove(base))

Modified: trunk/Source/WebCore/Modules/webgpu/WHLSL/AST/WHLSLEffectfulExpressionStatement.h (247812 => 247813)


--- trunk/Source/WebCore/Modules/webgpu/WHLSL/AST/WHLSLEffectfulExpressionStatement.h	2019-07-25 02:25:05 UTC (rev 247812)
+++ trunk/Source/WebCore/Modules/webgpu/WHLSL/AST/WHLSLEffectfulExpressionStatement.h	2019-07-25 02:40:05 UTC (rev 247813)
@@ -30,6 +30,7 @@
 #include "WHLSLExpression.h"
 #include "WHLSLLexer.h"
 #include "WHLSLStatement.h"
+#include <wtf/FastMalloc.h>
 #include <wtf/UniqueRef.h>
 
 namespace WebCore {
@@ -39,6 +40,7 @@
 namespace AST {
 
 class EffectfulExpressionStatement : public Statement {
+    WTF_MAKE_FAST_ALLOCATED;
 public:
     EffectfulExpressionStatement(UniqueRef<_expression_>&& effectfulExpression)
         : Statement(effectfulExpression->codeLocation())

Modified: trunk/Source/WebCore/Modules/webgpu/WHLSL/AST/WHLSLEnumerationDefinition.h (247812 => 247813)


--- trunk/Source/WebCore/Modules/webgpu/WHLSL/AST/WHLSLEnumerationDefinition.h	2019-07-25 02:25:05 UTC (rev 247812)
+++ trunk/Source/WebCore/Modules/webgpu/WHLSL/AST/WHLSLEnumerationDefinition.h	2019-07-25 02:40:05 UTC (rev 247813)
@@ -32,6 +32,7 @@
 #include "WHLSLNamedType.h"
 #include "WHLSLUnnamedType.h"
 #include <memory>
+#include <wtf/FastMalloc.h>
 #include <wtf/HashMap.h>
 #include <wtf/UniqueRef.h>
 #include <wtf/Vector.h>
@@ -45,6 +46,7 @@
 namespace AST {
 
 class EnumerationDefinition : public NamedType {
+    WTF_MAKE_FAST_ALLOCATED;
 public:
     EnumerationDefinition(CodeLocation location, String&& name, UniqueRef<UnnamedType>&& type)
         : NamedType(location, WTFMove(name))

Modified: trunk/Source/WebCore/Modules/webgpu/WHLSL/AST/WHLSLEnumerationMember.h (247812 => 247813)


--- trunk/Source/WebCore/Modules/webgpu/WHLSL/AST/WHLSLEnumerationMember.h	2019-07-25 02:25:05 UTC (rev 247812)
+++ trunk/Source/WebCore/Modules/webgpu/WHLSL/AST/WHLSLEnumerationMember.h	2019-07-25 02:40:05 UTC (rev 247813)
@@ -29,6 +29,7 @@
 
 #include "WHLSLConstantExpression.h"
 #include "WHLSLLexer.h"
+#include <wtf/FastMalloc.h>
 #include <wtf/Optional.h>
 #include <wtf/Vector.h>
 #include <wtf/text/WTFString.h>
@@ -40,6 +41,7 @@
 namespace AST {
 
 class EnumerationMember {
+    WTF_MAKE_FAST_ALLOCATED;
 public:
     EnumerationMember(CodeLocation location, String&& name, int64_t value)
         : m_codeLocation(location)

Modified: trunk/Source/WebCore/Modules/webgpu/WHLSL/AST/WHLSLEnumerationMemberLiteral.h (247812 => 247813)


--- trunk/Source/WebCore/Modules/webgpu/WHLSL/AST/WHLSLEnumerationMemberLiteral.h	2019-07-25 02:25:05 UTC (rev 247812)
+++ trunk/Source/WebCore/Modules/webgpu/WHLSL/AST/WHLSLEnumerationMemberLiteral.h	2019-07-25 02:40:05 UTC (rev 247813)
@@ -28,6 +28,7 @@
 #if ENABLE(WEBGPU)
 
 #include "WHLSLLexer.h"
+#include <wtf/FastMalloc.h>
 #include <wtf/text/WTFString.h>
 
 namespace WebCore {
@@ -40,6 +41,7 @@
 class EnumerationMember;
 
 class EnumerationMemberLiteral : public _expression_ {
+    WTF_MAKE_FAST_ALLOCATED;
 public:
     EnumerationMemberLiteral(CodeLocation location, String&& left, String&& right)
         : _expression_(location)

Modified: trunk/Source/WebCore/Modules/webgpu/WHLSL/AST/WHLSLExpression.h (247812 => 247813)


--- trunk/Source/WebCore/Modules/webgpu/WHLSL/AST/WHLSLExpression.h	2019-07-25 02:25:05 UTC (rev 247812)
+++ trunk/Source/WebCore/Modules/webgpu/WHLSL/AST/WHLSLExpression.h	2019-07-25 02:40:05 UTC (rev 247813)
@@ -30,6 +30,7 @@
 #include "WHLSLAddressSpace.h"
 #include "WHLSLLexer.h"
 #include "WHLSLUnnamedType.h"
+#include <wtf/FastMalloc.h>
 #include <wtf/Optional.h>
 #include <wtf/UniqueRef.h>
 
@@ -40,6 +41,7 @@
 namespace AST {
 
 class _expression_ {
+    WTF_MAKE_FAST_ALLOCATED;
 public:
     _expression_(CodeLocation codeLocation)
         : m_codeLocation(codeLocation)

Modified: trunk/Source/WebCore/Modules/webgpu/WHLSL/AST/WHLSLFallthrough.h (247812 => 247813)


--- trunk/Source/WebCore/Modules/webgpu/WHLSL/AST/WHLSLFallthrough.h	2019-07-25 02:25:05 UTC (rev 247812)
+++ trunk/Source/WebCore/Modules/webgpu/WHLSL/AST/WHLSLFallthrough.h	2019-07-25 02:40:05 UTC (rev 247813)
@@ -29,6 +29,7 @@
 
 #include "WHLSLLexer.h"
 #include "WHLSLStatement.h"
+#include <wtf/FastMalloc.h>
 
 namespace WebCore {
 
@@ -37,6 +38,7 @@
 namespace AST {
 
 class Fallthrough : public Statement {
+    WTF_MAKE_FAST_ALLOCATED;
 public:
     Fallthrough(CodeLocation location)
         : Statement(location)

Modified: trunk/Source/WebCore/Modules/webgpu/WHLSL/AST/WHLSLFloatLiteral.h (247812 => 247813)


--- trunk/Source/WebCore/Modules/webgpu/WHLSL/AST/WHLSLFloatLiteral.h	2019-07-25 02:25:05 UTC (rev 247812)
+++ trunk/Source/WebCore/Modules/webgpu/WHLSL/AST/WHLSLFloatLiteral.h	2019-07-25 02:40:05 UTC (rev 247813)
@@ -30,6 +30,7 @@
 #include "WHLSLExpression.h"
 #include "WHLSLFloatLiteralType.h"
 #include "WHLSLLexer.h"
+#include <wtf/FastMalloc.h>
 
 namespace WebCore {
 
@@ -38,6 +39,7 @@
 namespace AST {
 
 class FloatLiteral : public _expression_ {
+    WTF_MAKE_FAST_ALLOCATED;
 public:
     FloatLiteral(CodeLocation location, float value)
         : _expression_(location)

Modified: trunk/Source/WebCore/Modules/webgpu/WHLSL/AST/WHLSLFloatLiteralType.h (247812 => 247813)


--- trunk/Source/WebCore/Modules/webgpu/WHLSL/AST/WHLSLFloatLiteralType.h	2019-07-25 02:25:05 UTC (rev 247812)
+++ trunk/Source/WebCore/Modules/webgpu/WHLSL/AST/WHLSLFloatLiteralType.h	2019-07-25 02:40:05 UTC (rev 247813)
@@ -28,6 +28,7 @@
 #if ENABLE(WEBGPU)
 
 #include "WHLSLResolvableType.h"
+#include <wtf/FastMalloc.h>
 #include <wtf/UniqueRef.h>
 #include <wtf/text/WTFString.h>
 
@@ -40,6 +41,7 @@
 class TypeReference;
 
 class FloatLiteralType : public ResolvableType {
+    WTF_MAKE_FAST_ALLOCATED;
 public:
     FloatLiteralType(CodeLocation, float value);
 

Modified: trunk/Source/WebCore/Modules/webgpu/WHLSL/AST/WHLSLForLoop.h (247812 => 247813)


--- trunk/Source/WebCore/Modules/webgpu/WHLSL/AST/WHLSLForLoop.h	2019-07-25 02:25:05 UTC (rev 247812)
+++ trunk/Source/WebCore/Modules/webgpu/WHLSL/AST/WHLSLForLoop.h	2019-07-25 02:40:05 UTC (rev 247813)
@@ -32,6 +32,7 @@
 #include "WHLSLStatement.h"
 #include "WHLSLVariableDeclarationsStatement.h"
 #include <memory>
+#include <wtf/FastMalloc.h>
 #include <wtf/UniqueRef.h>
 #include <wtf/Variant.h>
 #include <wtf/Vector.h>
@@ -43,6 +44,7 @@
 namespace AST {
 
 class ForLoop : public Statement {
+    WTF_MAKE_FAST_ALLOCATED;
 public:
     ForLoop(CodeLocation location, Variant<UniqueRef<Statement>, UniqueRef<_expression_>>&& initialization, std::unique_ptr<_expression_>&& condition, std::unique_ptr<_expression_>&& increment, UniqueRef<Statement>&& body)
         : Statement(location)

Modified: trunk/Source/WebCore/Modules/webgpu/WHLSL/AST/WHLSLFunctionDeclaration.h (247812 => 247813)


--- trunk/Source/WebCore/Modules/webgpu/WHLSL/AST/WHLSLFunctionDeclaration.h	2019-07-25 02:25:05 UTC (rev 247812)
+++ trunk/Source/WebCore/Modules/webgpu/WHLSL/AST/WHLSLFunctionDeclaration.h	2019-07-25 02:40:05 UTC (rev 247813)
@@ -33,6 +33,7 @@
 #include "WHLSLSemantic.h"
 #include "WHLSLUnnamedType.h"
 #include "WHLSLVariableDeclaration.h"
+#include <wtf/FastMalloc.h>
 #include <wtf/UniqueRef.h>
 #include <wtf/text/WTFString.h>
 
@@ -43,6 +44,7 @@
 namespace AST {
 
 class FunctionDeclaration {
+    WTF_MAKE_FAST_ALLOCATED;
 public:
     FunctionDeclaration(CodeLocation location, AttributeBlock&& attributeBlock, Optional<EntryPointType> entryPointType, UniqueRef<UnnamedType>&& type, String&& name, VariableDeclarations&& parameters, std::unique_ptr<Semantic>&& semantic, bool isOperator)
         : m_codeLocation(location)

Modified: trunk/Source/WebCore/Modules/webgpu/WHLSL/AST/WHLSLFunctionDefinition.h (247812 => 247813)


--- trunk/Source/WebCore/Modules/webgpu/WHLSL/AST/WHLSLFunctionDefinition.h	2019-07-25 02:25:05 UTC (rev 247812)
+++ trunk/Source/WebCore/Modules/webgpu/WHLSL/AST/WHLSLFunctionDefinition.h	2019-07-25 02:40:05 UTC (rev 247813)
@@ -29,6 +29,7 @@
 
 #include "WHLSLBlock.h"
 #include "WHLSLFunctionDeclaration.h"
+#include <wtf/FastMalloc.h>
 
 namespace WebCore {
 
@@ -37,6 +38,7 @@
 namespace AST {
 
 class FunctionDefinition : public FunctionDeclaration {
+    WTF_MAKE_FAST_ALLOCATED;
 public:
     FunctionDefinition(FunctionDeclaration&& functionDeclaration, Block&& block)
         : FunctionDeclaration(WTFMove(functionDeclaration))

Modified: trunk/Source/WebCore/Modules/webgpu/WHLSL/AST/WHLSLGlobalVariableReference.h (247812 => 247813)


--- trunk/Source/WebCore/Modules/webgpu/WHLSL/AST/WHLSLGlobalVariableReference.h	2019-07-25 02:25:05 UTC (rev 247812)
+++ trunk/Source/WebCore/Modules/webgpu/WHLSL/AST/WHLSLGlobalVariableReference.h	2019-07-25 02:40:05 UTC (rev 247813)
@@ -29,6 +29,7 @@
 
 #include "WHLSLLexer.h"
 #include "WHLSLStructureElement.h"
+#include <wtf/FastMalloc.h>
 #include <wtf/UniqueRef.h>
 
 namespace WebCore {
@@ -38,6 +39,7 @@
 namespace AST {
 
 class GlobalVariableReference : public _expression_ {
+    WTF_MAKE_FAST_ALLOCATED;
 public:
     GlobalVariableReference(CodeLocation location, UniqueRef<_expression_>&& base, StructureElement* structField)
         : _expression_(location)

Modified: trunk/Source/WebCore/Modules/webgpu/WHLSL/AST/WHLSLIfStatement.h (247812 => 247813)


--- trunk/Source/WebCore/Modules/webgpu/WHLSL/AST/WHLSLIfStatement.h	2019-07-25 02:25:05 UTC (rev 247812)
+++ trunk/Source/WebCore/Modules/webgpu/WHLSL/AST/WHLSLIfStatement.h	2019-07-25 02:40:05 UTC (rev 247813)
@@ -31,6 +31,7 @@
 #include "WHLSLLexer.h"
 #include "WHLSLStatement.h"
 #include <memory>
+#include <wtf/FastMalloc.h>
 #include <wtf/UniqueRef.h>
 
 namespace WebCore {
@@ -40,6 +41,7 @@
 namespace AST {
 
 class IfStatement : public Statement {
+    WTF_MAKE_FAST_ALLOCATED;
 public:
     IfStatement(CodeLocation location, UniqueRef<_expression_>&& conditional, UniqueRef<Statement>&& body, std::unique_ptr<Statement>&& elseBody)
         : Statement(location)

Modified: trunk/Source/WebCore/Modules/webgpu/WHLSL/AST/WHLSLIndexExpression.h (247812 => 247813)


--- trunk/Source/WebCore/Modules/webgpu/WHLSL/AST/WHLSLIndexExpression.h	2019-07-25 02:25:05 UTC (rev 247812)
+++ trunk/Source/WebCore/Modules/webgpu/WHLSL/AST/WHLSLIndexExpression.h	2019-07-25 02:40:05 UTC (rev 247813)
@@ -29,6 +29,7 @@
 
 #include "WHLSLLexer.h"
 #include "WHLSLPropertyAccessExpression.h"
+#include <wtf/FastMalloc.h>
 #include <wtf/UniqueRef.h>
 
 namespace WebCore {
@@ -38,6 +39,7 @@
 namespace AST {
 
 class IndexExpression : public PropertyAccessExpression {
+    WTF_MAKE_FAST_ALLOCATED;
 public:
     IndexExpression(CodeLocation location, UniqueRef<_expression_>&& base, UniqueRef<_expression_>&& index)
         : PropertyAccessExpression(location, WTFMove(base))

Modified: trunk/Source/WebCore/Modules/webgpu/WHLSL/AST/WHLSLIntegerLiteral.h (247812 => 247813)


--- trunk/Source/WebCore/Modules/webgpu/WHLSL/AST/WHLSLIntegerLiteral.h	2019-07-25 02:25:05 UTC (rev 247812)
+++ trunk/Source/WebCore/Modules/webgpu/WHLSL/AST/WHLSLIntegerLiteral.h	2019-07-25 02:40:05 UTC (rev 247813)
@@ -30,6 +30,7 @@
 #include "WHLSLExpression.h"
 #include "WHLSLIntegerLiteralType.h"
 #include "WHLSLLexer.h"
+#include <wtf/FastMalloc.h>
 
 namespace WebCore {
 
@@ -38,6 +39,7 @@
 namespace AST {
 
 class IntegerLiteral : public _expression_ {
+    WTF_MAKE_FAST_ALLOCATED;
 public:
     IntegerLiteral(CodeLocation location, int value)
         : _expression_(location)

Modified: trunk/Source/WebCore/Modules/webgpu/WHLSL/AST/WHLSLIntegerLiteralType.h (247812 => 247813)


--- trunk/Source/WebCore/Modules/webgpu/WHLSL/AST/WHLSLIntegerLiteralType.h	2019-07-25 02:25:05 UTC (rev 247812)
+++ trunk/Source/WebCore/Modules/webgpu/WHLSL/AST/WHLSLIntegerLiteralType.h	2019-07-25 02:40:05 UTC (rev 247813)
@@ -28,6 +28,7 @@
 #if ENABLE(WEBGPU)
 
 #include "WHLSLResolvableType.h"
+#include <wtf/FastMalloc.h>
 #include <wtf/UniqueRef.h>
 #include <wtf/text/WTFString.h>
 
@@ -40,6 +41,7 @@
 class TypeReference;
 
 class IntegerLiteralType : public ResolvableType {
+    WTF_MAKE_FAST_ALLOCATED;
 public:
     IntegerLiteralType(CodeLocation, int value);
 

Modified: trunk/Source/WebCore/Modules/webgpu/WHLSL/AST/WHLSLLogicalExpression.h (247812 => 247813)


--- trunk/Source/WebCore/Modules/webgpu/WHLSL/AST/WHLSLLogicalExpression.h	2019-07-25 02:25:05 UTC (rev 247812)
+++ trunk/Source/WebCore/Modules/webgpu/WHLSL/AST/WHLSLLogicalExpression.h	2019-07-25 02:40:05 UTC (rev 247813)
@@ -29,6 +29,7 @@
 
 #include "WHLSLExpression.h"
 #include "WHLSLLexer.h"
+#include <wtf/FastMalloc.h>
 #include <wtf/UniqueRef.h>
 
 namespace WebCore {
@@ -38,6 +39,7 @@
 namespace AST {
 
 class LogicalExpression : public _expression_ {
+    WTF_MAKE_FAST_ALLOCATED;
 public:
     enum class Type : uint8_t {
         And,

Modified: trunk/Source/WebCore/Modules/webgpu/WHLSL/AST/WHLSLLogicalNotExpression.h (247812 => 247813)


--- trunk/Source/WebCore/Modules/webgpu/WHLSL/AST/WHLSLLogicalNotExpression.h	2019-07-25 02:25:05 UTC (rev 247812)
+++ trunk/Source/WebCore/Modules/webgpu/WHLSL/AST/WHLSLLogicalNotExpression.h	2019-07-25 02:40:05 UTC (rev 247813)
@@ -29,6 +29,7 @@
 
 #include "WHLSLExpression.h"
 #include "WHLSLLexer.h"
+#include <wtf/FastMalloc.h>
 #include <wtf/UniqueRef.h>
 
 namespace WebCore {
@@ -38,6 +39,7 @@
 namespace AST {
 
 class LogicalNotExpression : public _expression_ {
+    WTF_MAKE_FAST_ALLOCATED;
 public:
     LogicalNotExpression(CodeLocation location, UniqueRef<_expression_>&& operand)
         : _expression_(location)

Modified: trunk/Source/WebCore/Modules/webgpu/WHLSL/AST/WHLSLMakeArrayReferenceExpression.h (247812 => 247813)


--- trunk/Source/WebCore/Modules/webgpu/WHLSL/AST/WHLSLMakeArrayReferenceExpression.h	2019-07-25 02:25:05 UTC (rev 247812)
+++ trunk/Source/WebCore/Modules/webgpu/WHLSL/AST/WHLSLMakeArrayReferenceExpression.h	2019-07-25 02:40:05 UTC (rev 247813)
@@ -29,6 +29,7 @@
 
 #include "WHLSLExpression.h"
 #include "WHLSLLexer.h"
+#include <wtf/FastMalloc.h>
 #include <wtf/UniqueRef.h>
 
 namespace WebCore {
@@ -38,6 +39,7 @@
 namespace AST {
 
 class MakeArrayReferenceExpression : public _expression_ {
+    WTF_MAKE_FAST_ALLOCATED;
 public:
     MakeArrayReferenceExpression(CodeLocation location, UniqueRef<_expression_>&& leftValue)
         : _expression_(location)

Modified: trunk/Source/WebCore/Modules/webgpu/WHLSL/AST/WHLSLMakePointerExpression.h (247812 => 247813)


--- trunk/Source/WebCore/Modules/webgpu/WHLSL/AST/WHLSLMakePointerExpression.h	2019-07-25 02:25:05 UTC (rev 247812)
+++ trunk/Source/WebCore/Modules/webgpu/WHLSL/AST/WHLSLMakePointerExpression.h	2019-07-25 02:40:05 UTC (rev 247813)
@@ -29,6 +29,7 @@
 
 #include "WHLSLExpression.h"
 #include "WHLSLLexer.h"
+#include <wtf/FastMalloc.h>
 #include <wtf/UniqueRef.h>
 
 namespace WebCore {
@@ -38,6 +39,7 @@
 namespace AST {
 
 class MakePointerExpression : public _expression_ {
+    WTF_MAKE_FAST_ALLOCATED;
 public:
     MakePointerExpression(CodeLocation location, UniqueRef<_expression_>&& leftValue)
         : _expression_(location)

Modified: trunk/Source/WebCore/Modules/webgpu/WHLSL/AST/WHLSLNamedType.h (247812 => 247813)


--- trunk/Source/WebCore/Modules/webgpu/WHLSL/AST/WHLSLNamedType.h	2019-07-25 02:25:05 UTC (rev 247812)
+++ trunk/Source/WebCore/Modules/webgpu/WHLSL/AST/WHLSLNamedType.h	2019-07-25 02:40:05 UTC (rev 247813)
@@ -29,6 +29,7 @@
 
 #include "WHLSLLexer.h"
 #include "WHLSLType.h"
+#include <wtf/FastMalloc.h>
 #include <wtf/text/WTFString.h>
 
 namespace WebCore {
@@ -38,6 +39,7 @@
 namespace AST {
 
 class NamedType : public Type {
+    WTF_MAKE_FAST_ALLOCATED;
 public:
     NamedType(CodeLocation location, String&& name)
         : m_codeLocation(location)

Modified: trunk/Source/WebCore/Modules/webgpu/WHLSL/AST/WHLSLNativeFunctionDeclaration.h (247812 => 247813)


--- trunk/Source/WebCore/Modules/webgpu/WHLSL/AST/WHLSLNativeFunctionDeclaration.h	2019-07-25 02:25:05 UTC (rev 247812)
+++ trunk/Source/WebCore/Modules/webgpu/WHLSL/AST/WHLSLNativeFunctionDeclaration.h	2019-07-25 02:40:05 UTC (rev 247813)
@@ -28,6 +28,7 @@
 #if ENABLE(WEBGPU)
 
 #include "WHLSLFunctionDeclaration.h"
+#include <wtf/FastMalloc.h>
 
 namespace WebCore {
 
@@ -36,6 +37,7 @@
 namespace AST {
 
 class NativeFunctionDeclaration : public FunctionDeclaration {
+    WTF_MAKE_FAST_ALLOCATED;
 public:
     NativeFunctionDeclaration(FunctionDeclaration&& functionDeclaration)
         : FunctionDeclaration(WTFMove(functionDeclaration))

Modified: trunk/Source/WebCore/Modules/webgpu/WHLSL/AST/WHLSLNativeTypeDeclaration.h (247812 => 247813)


--- trunk/Source/WebCore/Modules/webgpu/WHLSL/AST/WHLSLNativeTypeDeclaration.h	2019-07-25 02:25:05 UTC (rev 247812)
+++ trunk/Source/WebCore/Modules/webgpu/WHLSL/AST/WHLSLNativeTypeDeclaration.h	2019-07-25 02:40:05 UTC (rev 247813)
@@ -31,6 +31,7 @@
 #include "WHLSLNamedType.h"
 #include "WHLSLTypeArgument.h"
 #include "WHLSLTypeReference.h"
+#include <wtf/FastMalloc.h>
 #include <wtf/text/WTFString.h>
 
 namespace WebCore {
@@ -40,6 +41,7 @@
 namespace AST {
 
 class NativeTypeDeclaration : public NamedType {
+    WTF_MAKE_FAST_ALLOCATED;
 public:
     NativeTypeDeclaration(CodeLocation location, String&& name, TypeArguments&& typeArguments)
         : NamedType(location, WTFMove(name))

Modified: trunk/Source/WebCore/Modules/webgpu/WHLSL/AST/WHLSLNullLiteral.h (247812 => 247813)


--- trunk/Source/WebCore/Modules/webgpu/WHLSL/AST/WHLSLNullLiteral.h	2019-07-25 02:25:05 UTC (rev 247812)
+++ trunk/Source/WebCore/Modules/webgpu/WHLSL/AST/WHLSLNullLiteral.h	2019-07-25 02:40:05 UTC (rev 247813)
@@ -30,6 +30,7 @@
 #include "WHLSLExpression.h"
 #include "WHLSLLexer.h"
 #include "WHLSLNullLiteralType.h"
+#include <wtf/FastMalloc.h>
 
 namespace WebCore {
 
@@ -38,6 +39,7 @@
 namespace AST {
 
 class NullLiteral : public _expression_ {
+    WTF_MAKE_FAST_ALLOCATED;
 public:
     NullLiteral(CodeLocation location)
         : _expression_(location)

Modified: trunk/Source/WebCore/Modules/webgpu/WHLSL/AST/WHLSLNullLiteralType.h (247812 => 247813)


--- trunk/Source/WebCore/Modules/webgpu/WHLSL/AST/WHLSLNullLiteralType.h	2019-07-25 02:25:05 UTC (rev 247812)
+++ trunk/Source/WebCore/Modules/webgpu/WHLSL/AST/WHLSLNullLiteralType.h	2019-07-25 02:40:05 UTC (rev 247813)
@@ -28,6 +28,7 @@
 #if ENABLE(WEBGPU)
 
 #include "WHLSLResolvableType.h"
+#include <wtf/FastMalloc.h>
 
 namespace WebCore {
 
@@ -36,6 +37,7 @@
 namespace AST {
 
 class NullLiteralType : public ResolvableType {
+    WTF_MAKE_FAST_ALLOCATED;
 public:
     NullLiteralType() = default;
 

Modified: trunk/Source/WebCore/Modules/webgpu/WHLSL/AST/WHLSLNumThreadsFunctionAttribute.h (247812 => 247813)


--- trunk/Source/WebCore/Modules/webgpu/WHLSL/AST/WHLSLNumThreadsFunctionAttribute.h	2019-07-25 02:25:05 UTC (rev 247812)
+++ trunk/Source/WebCore/Modules/webgpu/WHLSL/AST/WHLSLNumThreadsFunctionAttribute.h	2019-07-25 02:40:05 UTC (rev 247813)
@@ -28,6 +28,7 @@
 #if ENABLE(WEBGPU)
 
 #include "WHLSLBaseFunctionAttribute.h"
+#include <wtf/FastMalloc.h>
 
 namespace WebCore {
 
@@ -36,6 +37,7 @@
 namespace AST {
 
 class NumThreadsFunctionAttribute : public BaseFunctionAttribute {
+    WTF_MAKE_FAST_ALLOCATED;
 public:
     NumThreadsFunctionAttribute(CodeLocation location, unsigned width, unsigned height, unsigned depth)
         : BaseFunctionAttribute(location)

Modified: trunk/Source/WebCore/Modules/webgpu/WHLSL/AST/WHLSLPointerType.h (247812 => 247813)


--- trunk/Source/WebCore/Modules/webgpu/WHLSL/AST/WHLSLPointerType.h	2019-07-25 02:25:05 UTC (rev 247812)
+++ trunk/Source/WebCore/Modules/webgpu/WHLSL/AST/WHLSLPointerType.h	2019-07-25 02:40:05 UTC (rev 247813)
@@ -29,6 +29,7 @@
 
 #include "WHLSLLexer.h"
 #include "WHLSLReferenceType.h"
+#include <wtf/FastMalloc.h>
 #include <wtf/UniqueRef.h>
 #include <wtf/text/WTFString.h>
 
@@ -39,6 +40,7 @@
 namespace AST {
 
 class PointerType : public ReferenceType {
+    WTF_MAKE_FAST_ALLOCATED;
     using Base = ReferenceType;
 public:
     PointerType(CodeLocation location, AddressSpace addressSpace, UniqueRef<UnnamedType> elementType)

Modified: trunk/Source/WebCore/Modules/webgpu/WHLSL/AST/WHLSLPropertyAccessExpression.h (247812 => 247813)


--- trunk/Source/WebCore/Modules/webgpu/WHLSL/AST/WHLSLPropertyAccessExpression.h	2019-07-25 02:25:05 UTC (rev 247812)
+++ trunk/Source/WebCore/Modules/webgpu/WHLSL/AST/WHLSLPropertyAccessExpression.h	2019-07-25 02:40:05 UTC (rev 247813)
@@ -30,6 +30,7 @@
 #include "WHLSLExpression.h"
 #include "WHLSLFunctionDeclaration.h"
 #include "WHLSLLexer.h"
+#include <wtf/FastMalloc.h>
 #include <wtf/UniqueRef.h>
 
 namespace WebCore {
@@ -39,6 +40,7 @@
 namespace AST {
 
 class PropertyAccessExpression : public _expression_ {
+    WTF_MAKE_FAST_ALLOCATED;
 public:
     PropertyAccessExpression(CodeLocation location, UniqueRef<_expression_>&& base)
         : _expression_(location)

Modified: trunk/Source/WebCore/Modules/webgpu/WHLSL/AST/WHLSLReadModifyWriteExpression.h (247812 => 247813)


--- trunk/Source/WebCore/Modules/webgpu/WHLSL/AST/WHLSLReadModifyWriteExpression.h	2019-07-25 02:25:05 UTC (rev 247812)
+++ trunk/Source/WebCore/Modules/webgpu/WHLSL/AST/WHLSLReadModifyWriteExpression.h	2019-07-25 02:40:05 UTC (rev 247813)
@@ -32,6 +32,7 @@
 #include "WHLSLVariableDeclaration.h"
 #include "WHLSLVariableReference.h"
 #include <memory>
+#include <wtf/FastMalloc.h>
 #include <wtf/UniqueRef.h>
 
 namespace WebCore {
@@ -50,6 +51,7 @@
  *  7. Return the result
  */
 class ReadModifyWriteExpression : public _expression_ {
+    WTF_MAKE_FAST_ALLOCATED;
 public:
     static UniqueRef<ReadModifyWriteExpression> create(CodeLocation location, UniqueRef<_expression_> lValue)
     {

Modified: trunk/Source/WebCore/Modules/webgpu/WHLSL/AST/WHLSLReferenceType.h (247812 => 247813)


--- trunk/Source/WebCore/Modules/webgpu/WHLSL/AST/WHLSLReferenceType.h	2019-07-25 02:25:05 UTC (rev 247812)
+++ trunk/Source/WebCore/Modules/webgpu/WHLSL/AST/WHLSLReferenceType.h	2019-07-25 02:40:05 UTC (rev 247813)
@@ -30,6 +30,7 @@
 #include "WHLSLAddressSpace.h"
 #include "WHLSLLexer.h"
 #include "WHLSLUnnamedType.h"
+#include <wtf/FastMalloc.h>
 #include <wtf/UniqueRef.h>
 #include <wtf/text/WTFString.h>
 
@@ -40,6 +41,7 @@
 namespace AST {
 
 class ReferenceType : public UnnamedType {
+    WTF_MAKE_FAST_ALLOCATED;
 public:
     ReferenceType(CodeLocation location, AddressSpace addressSpace, UniqueRef<UnnamedType>&& elementType)
         : UnnamedType(location)

Modified: trunk/Source/WebCore/Modules/webgpu/WHLSL/AST/WHLSLResolvableType.h (247812 => 247813)


--- trunk/Source/WebCore/Modules/webgpu/WHLSL/AST/WHLSLResolvableType.h	2019-07-25 02:25:05 UTC (rev 247812)
+++ trunk/Source/WebCore/Modules/webgpu/WHLSL/AST/WHLSLResolvableType.h	2019-07-25 02:40:05 UTC (rev 247813)
@@ -30,6 +30,7 @@
 #include "WHLSLType.h"
 #include "WHLSLUnnamedType.h"
 #include <memory>
+#include <wtf/FastMalloc.h>
 
 namespace WebCore {
 
@@ -38,6 +39,7 @@
 namespace AST {
 
 class ResolvableType : public Type {
+    WTF_MAKE_FAST_ALLOCATED;
 public:
     ResolvableType() = default;
 

Modified: trunk/Source/WebCore/Modules/webgpu/WHLSL/AST/WHLSLResourceSemantic.h (247812 => 247813)


--- trunk/Source/WebCore/Modules/webgpu/WHLSL/AST/WHLSLResourceSemantic.h	2019-07-25 02:25:05 UTC (rev 247812)
+++ trunk/Source/WebCore/Modules/webgpu/WHLSL/AST/WHLSLResourceSemantic.h	2019-07-25 02:40:05 UTC (rev 247813)
@@ -29,6 +29,7 @@
 
 #include "WHLSLBaseSemantic.h"
 #include "WHLSLLexer.h"
+#include <wtf/FastMalloc.h>
 
 namespace WebCore {
 
@@ -37,6 +38,7 @@
 namespace AST {
 
 class ResourceSemantic : public BaseSemantic {
+    WTF_MAKE_FAST_ALLOCATED;
 public:
     enum class Mode : uint8_t {
         UnorderedAccessView,

Modified: trunk/Source/WebCore/Modules/webgpu/WHLSL/AST/WHLSLReturn.h (247812 => 247813)


--- trunk/Source/WebCore/Modules/webgpu/WHLSL/AST/WHLSLReturn.h	2019-07-25 02:25:05 UTC (rev 247812)
+++ trunk/Source/WebCore/Modules/webgpu/WHLSL/AST/WHLSLReturn.h	2019-07-25 02:40:05 UTC (rev 247813)
@@ -31,6 +31,7 @@
 #include "WHLSLLexer.h"
 #include "WHLSLStatement.h"
 #include <memory>
+#include <wtf/FastMalloc.h>
 #include <wtf/UniqueRef.h>
 
 namespace WebCore {
@@ -40,6 +41,7 @@
 namespace AST {
 
 class Return : public Statement {
+    WTF_MAKE_FAST_ALLOCATED;
 public:
     Return(CodeLocation location, std::unique_ptr<_expression_>&& value)
         : Statement(location)

Modified: trunk/Source/WebCore/Modules/webgpu/WHLSL/AST/WHLSLSpecializationConstantSemantic.h (247812 => 247813)


--- trunk/Source/WebCore/Modules/webgpu/WHLSL/AST/WHLSLSpecializationConstantSemantic.h	2019-07-25 02:25:05 UTC (rev 247812)
+++ trunk/Source/WebCore/Modules/webgpu/WHLSL/AST/WHLSLSpecializationConstantSemantic.h	2019-07-25 02:40:05 UTC (rev 247813)
@@ -29,6 +29,7 @@
 
 #include "WHLSLBaseSemantic.h"
 #include "WHLSLLexer.h"
+#include <wtf/FastMalloc.h>
 
 namespace WebCore {
 
@@ -37,6 +38,7 @@
 namespace AST {
 
 class SpecializationConstantSemantic : public BaseSemantic {
+    WTF_MAKE_FAST_ALLOCATED;
 public:
     SpecializationConstantSemantic(CodeLocation location)
         : BaseSemantic(location)

Modified: trunk/Source/WebCore/Modules/webgpu/WHLSL/AST/WHLSLStageInOutSemantic.h (247812 => 247813)


--- trunk/Source/WebCore/Modules/webgpu/WHLSL/AST/WHLSLStageInOutSemantic.h	2019-07-25 02:25:05 UTC (rev 247812)
+++ trunk/Source/WebCore/Modules/webgpu/WHLSL/AST/WHLSLStageInOutSemantic.h	2019-07-25 02:40:05 UTC (rev 247813)
@@ -29,6 +29,7 @@
 
 #include "WHLSLBaseSemantic.h"
 #include "WHLSLLexer.h"
+#include <wtf/FastMalloc.h>
 
 namespace WebCore {
 
@@ -37,6 +38,7 @@
 namespace AST {
 
 class StageInOutSemantic : public BaseSemantic {
+    WTF_MAKE_FAST_ALLOCATED;
 public:
     StageInOutSemantic(CodeLocation location, unsigned index)
         : BaseSemantic(location)

Modified: trunk/Source/WebCore/Modules/webgpu/WHLSL/AST/WHLSLStatement.h (247812 => 247813)


--- trunk/Source/WebCore/Modules/webgpu/WHLSL/AST/WHLSLStatement.h	2019-07-25 02:25:05 UTC (rev 247812)
+++ trunk/Source/WebCore/Modules/webgpu/WHLSL/AST/WHLSLStatement.h	2019-07-25 02:40:05 UTC (rev 247813)
@@ -28,6 +28,7 @@
 #if ENABLE(WEBGPU)
 
 #include "WHLSLLexer.h"
+#include <wtf/FastMalloc.h>
 #include <wtf/UniqueRef.h>
 
 namespace WebCore {
@@ -37,6 +38,7 @@
 namespace AST {
 
 class Statement {
+    WTF_MAKE_FAST_ALLOCATED;
 public:
     Statement(CodeLocation codeLocation)
         : m_codeLocation(codeLocation)

Modified: trunk/Source/WebCore/Modules/webgpu/WHLSL/AST/WHLSLStatementList.h (247812 => 247813)


--- trunk/Source/WebCore/Modules/webgpu/WHLSL/AST/WHLSLStatementList.h	2019-07-25 02:25:05 UTC (rev 247812)
+++ trunk/Source/WebCore/Modules/webgpu/WHLSL/AST/WHLSLStatementList.h	2019-07-25 02:40:05 UTC (rev 247813)
@@ -29,6 +29,7 @@
 
 #include "WHLSLLexer.h"
 #include "WHLSLStatement.h"
+#include <wtf/FastMalloc.h>
 #include <wtf/Vector.h>
 
 namespace WebCore {
@@ -38,6 +39,7 @@
 namespace AST {
 
 class StatementList : public Statement {
+    WTF_MAKE_FAST_ALLOCATED;
     using Base = Statement;
 public:
     StatementList(CodeLocation location, Statements&& statements)

Modified: trunk/Source/WebCore/Modules/webgpu/WHLSL/AST/WHLSLStructureDefinition.h (247812 => 247813)


--- trunk/Source/WebCore/Modules/webgpu/WHLSL/AST/WHLSLStructureDefinition.h	2019-07-25 02:25:05 UTC (rev 247812)
+++ trunk/Source/WebCore/Modules/webgpu/WHLSL/AST/WHLSLStructureDefinition.h	2019-07-25 02:40:05 UTC (rev 247813)
@@ -30,6 +30,7 @@
 #include "WHLSLLexer.h"
 #include "WHLSLNamedType.h"
 #include "WHLSLStructureElement.h"
+#include <wtf/FastMalloc.h>
 #include <wtf/Vector.h>
 #include <wtf/text/WTFString.h>
 
@@ -40,6 +41,7 @@
 namespace AST {
 
 class StructureDefinition : public NamedType {
+    WTF_MAKE_FAST_ALLOCATED;
 public:
     StructureDefinition(CodeLocation location, String&& name, StructureElements&& structureElements)
         : NamedType(location, WTFMove(name))

Modified: trunk/Source/WebCore/Modules/webgpu/WHLSL/AST/WHLSLStructureElement.h (247812 => 247813)


--- trunk/Source/WebCore/Modules/webgpu/WHLSL/AST/WHLSLStructureElement.h	2019-07-25 02:25:05 UTC (rev 247812)
+++ trunk/Source/WebCore/Modules/webgpu/WHLSL/AST/WHLSLStructureElement.h	2019-07-25 02:40:05 UTC (rev 247813)
@@ -31,6 +31,7 @@
 #include "WHLSLQualifier.h"
 #include "WHLSLSemantic.h"
 #include "WHLSLType.h"
+#include <wtf/FastMalloc.h>
 #include <wtf/UniqueRef.h>
 
 namespace WebCore {
@@ -40,6 +41,7 @@
 namespace AST {
 
 class StructureElement {
+    WTF_MAKE_FAST_ALLOCATED;
 public:
     StructureElement(CodeLocation location, Qualifiers&& qualifiers, UniqueRef<UnnamedType>&& type, String&& name, std::unique_ptr<Semantic>&& semantic)
         : m_codeLocation(location)

Modified: trunk/Source/WebCore/Modules/webgpu/WHLSL/AST/WHLSLSwitchCase.h (247812 => 247813)


--- trunk/Source/WebCore/Modules/webgpu/WHLSL/AST/WHLSLSwitchCase.h	2019-07-25 02:25:05 UTC (rev 247812)
+++ trunk/Source/WebCore/Modules/webgpu/WHLSL/AST/WHLSLSwitchCase.h	2019-07-25 02:40:05 UTC (rev 247813)
@@ -31,6 +31,7 @@
 #include "WHLSLConstantExpression.h"
 #include "WHLSLLexer.h"
 #include "WHLSLStatement.h"
+#include <wtf/FastMalloc.h>
 #include <wtf/Optional.h>
 
 namespace WebCore {
@@ -40,6 +41,7 @@
 namespace AST {
 
 class SwitchCase : public Statement {
+    WTF_MAKE_FAST_ALLOCATED;
 public:
     SwitchCase(CodeLocation location, Optional<ConstantExpression>&& value, Block&& block)
         : Statement(location)

Modified: trunk/Source/WebCore/Modules/webgpu/WHLSL/AST/WHLSLSwitchStatement.h (247812 => 247813)


--- trunk/Source/WebCore/Modules/webgpu/WHLSL/AST/WHLSLSwitchStatement.h	2019-07-25 02:25:05 UTC (rev 247812)
+++ trunk/Source/WebCore/Modules/webgpu/WHLSL/AST/WHLSLSwitchStatement.h	2019-07-25 02:40:05 UTC (rev 247813)
@@ -31,6 +31,7 @@
 #include "WHLSLLexer.h"
 #include "WHLSLStatement.h"
 #include "WHLSLSwitchCase.h"
+#include <wtf/FastMalloc.h>
 #include <wtf/UniqueRef.h>
 
 namespace WebCore {
@@ -40,6 +41,7 @@
 namespace AST {
 
 class SwitchStatement : public Statement {
+    WTF_MAKE_FAST_ALLOCATED;
 public:
     SwitchStatement(CodeLocation location, UniqueRef<_expression_>&& value, Vector<SwitchCase>&& switchCases)
         : Statement(location)

Modified: trunk/Source/WebCore/Modules/webgpu/WHLSL/AST/WHLSLTernaryExpression.h (247812 => 247813)


--- trunk/Source/WebCore/Modules/webgpu/WHLSL/AST/WHLSLTernaryExpression.h	2019-07-25 02:25:05 UTC (rev 247812)
+++ trunk/Source/WebCore/Modules/webgpu/WHLSL/AST/WHLSLTernaryExpression.h	2019-07-25 02:40:05 UTC (rev 247813)
@@ -29,6 +29,7 @@
 
 #include "WHLSLExpression.h"
 #include "WHLSLLexer.h"
+#include <wtf/FastMalloc.h>
 #include <wtf/UniqueRef.h>
 
 namespace WebCore {
@@ -38,6 +39,7 @@
 namespace AST {
 
 class TernaryExpression : public _expression_ {
+    WTF_MAKE_FAST_ALLOCATED;
 public:
     TernaryExpression(CodeLocation location, UniqueRef<_expression_>&& predicate, UniqueRef<_expression_>&& bodyExpression, UniqueRef<_expression_>&& elseExpression)
         : _expression_(location)

Modified: trunk/Source/WebCore/Modules/webgpu/WHLSL/AST/WHLSLType.h (247812 => 247813)


--- trunk/Source/WebCore/Modules/webgpu/WHLSL/AST/WHLSLType.h	2019-07-25 02:25:05 UTC (rev 247812)
+++ trunk/Source/WebCore/Modules/webgpu/WHLSL/AST/WHLSLType.h	2019-07-25 02:40:05 UTC (rev 247813)
@@ -27,6 +27,7 @@
 
 #if ENABLE(WEBGPU)
 
+#include <wtf/FastMalloc.h>
 #include <wtf/TypeCasts.h>
 
 namespace WebCore {
@@ -36,6 +37,7 @@
 namespace AST {
 
 class Type {
+    WTF_MAKE_FAST_ALLOCATED;
 public:
     Type() = default;
 

Modified: trunk/Source/WebCore/Modules/webgpu/WHLSL/AST/WHLSLTypeDefinition.h (247812 => 247813)


--- trunk/Source/WebCore/Modules/webgpu/WHLSL/AST/WHLSLTypeDefinition.h	2019-07-25 02:25:05 UTC (rev 247812)
+++ trunk/Source/WebCore/Modules/webgpu/WHLSL/AST/WHLSLTypeDefinition.h	2019-07-25 02:40:05 UTC (rev 247813)
@@ -30,6 +30,7 @@
 #include "WHLSLLexer.h"
 #include "WHLSLNamedType.h"
 #include "WHLSLUnnamedType.h"
+#include <wtf/FastMalloc.h>
 #include <wtf/UniqueRef.h>
 #include <wtf/text/WTFString.h>
 
@@ -40,6 +41,7 @@
 namespace AST {
 
 class TypeDefinition : public NamedType {
+    WTF_MAKE_FAST_ALLOCATED;
 public:
     TypeDefinition(CodeLocation location, String&& name, UniqueRef<UnnamedType>&& type)
         : NamedType(location, WTFMove(name))

Modified: trunk/Source/WebCore/Modules/webgpu/WHLSL/AST/WHLSLTypeReference.h (247812 => 247813)


--- trunk/Source/WebCore/Modules/webgpu/WHLSL/AST/WHLSLTypeReference.h	2019-07-25 02:25:05 UTC (rev 247812)
+++ trunk/Source/WebCore/Modules/webgpu/WHLSL/AST/WHLSLTypeReference.h	2019-07-25 02:40:05 UTC (rev 247813)
@@ -31,6 +31,7 @@
 #include "WHLSLNamedType.h"
 #include "WHLSLTypeArgument.h"
 #include "WHLSLUnnamedType.h"
+#include <wtf/FastMalloc.h>
 #include <wtf/UniqueRef.h>
 #include <wtf/text/WTFString.h>
 
@@ -43,6 +44,7 @@
 class NamedType;
 
 class TypeReference : public UnnamedType {
+    WTF_MAKE_FAST_ALLOCATED;
 public:
     TypeReference(CodeLocation location, String&& name, TypeArguments&& typeArguments)
         : UnnamedType(location)

Modified: trunk/Source/WebCore/Modules/webgpu/WHLSL/AST/WHLSLUnnamedType.h (247812 => 247813)


--- trunk/Source/WebCore/Modules/webgpu/WHLSL/AST/WHLSLUnnamedType.h	2019-07-25 02:25:05 UTC (rev 247812)
+++ trunk/Source/WebCore/Modules/webgpu/WHLSL/AST/WHLSLUnnamedType.h	2019-07-25 02:40:05 UTC (rev 247813)
@@ -29,6 +29,7 @@
 
 #include "WHLSLLexer.h"
 #include "WHLSLType.h"
+#include <wtf/FastMalloc.h>
 #include <wtf/UniqueRef.h>
 #include <wtf/text/WTFString.h>
 
@@ -39,6 +40,7 @@
 namespace AST {
 
 class UnnamedType : public Type {
+    WTF_MAKE_FAST_ALLOCATED;
 public:
     UnnamedType(CodeLocation location)
         : m_codeLocation(location)

Modified: trunk/Source/WebCore/Modules/webgpu/WHLSL/AST/WHLSLUnsignedIntegerLiteral.h (247812 => 247813)


--- trunk/Source/WebCore/Modules/webgpu/WHLSL/AST/WHLSLUnsignedIntegerLiteral.h	2019-07-25 02:25:05 UTC (rev 247812)
+++ trunk/Source/WebCore/Modules/webgpu/WHLSL/AST/WHLSLUnsignedIntegerLiteral.h	2019-07-25 02:40:05 UTC (rev 247813)
@@ -30,6 +30,7 @@
 #include "WHLSLExpression.h"
 #include "WHLSLLexer.h"
 #include "WHLSLUnsignedIntegerLiteralType.h"
+#include <wtf/FastMalloc.h>
 
 namespace WebCore {
 
@@ -38,6 +39,7 @@
 namespace AST {
 
 class UnsignedIntegerLiteral : public _expression_ {
+    WTF_MAKE_FAST_ALLOCATED;
 public:
     UnsignedIntegerLiteral(CodeLocation location, unsigned value)
         : _expression_(location)

Modified: trunk/Source/WebCore/Modules/webgpu/WHLSL/AST/WHLSLUnsignedIntegerLiteralType.h (247812 => 247813)


--- trunk/Source/WebCore/Modules/webgpu/WHLSL/AST/WHLSLUnsignedIntegerLiteralType.h	2019-07-25 02:25:05 UTC (rev 247812)
+++ trunk/Source/WebCore/Modules/webgpu/WHLSL/AST/WHLSLUnsignedIntegerLiteralType.h	2019-07-25 02:40:05 UTC (rev 247813)
@@ -28,6 +28,7 @@
 #if ENABLE(WEBGPU)
 
 #include "WHLSLResolvableType.h"
+#include <wtf/FastMalloc.h>
 #include <wtf/UniqueRef.h>
 #include <wtf/text/WTFString.h>
 
@@ -40,6 +41,7 @@
 class TypeReference;
 
 class UnsignedIntegerLiteralType : public ResolvableType {
+    WTF_MAKE_FAST_ALLOCATED;
 public:
     UnsignedIntegerLiteralType(CodeLocation, unsigned value);
 

Modified: trunk/Source/WebCore/Modules/webgpu/WHLSL/AST/WHLSLVariableDeclaration.h (247812 => 247813)


--- trunk/Source/WebCore/Modules/webgpu/WHLSL/AST/WHLSLVariableDeclaration.h	2019-07-25 02:25:05 UTC (rev 247812)
+++ trunk/Source/WebCore/Modules/webgpu/WHLSL/AST/WHLSLVariableDeclaration.h	2019-07-25 02:40:05 UTC (rev 247813)
@@ -33,6 +33,7 @@
 #include "WHLSLSemantic.h"
 #include "WHLSLType.h"
 #include <memory>
+#include <wtf/FastMalloc.h>
 #include <wtf/UniqueRef.h>
 #include <wtf/Vector.h>
 #include <wtf/text/WTFString.h>
@@ -44,6 +45,7 @@
 namespace AST {
 
 class VariableDeclaration final {
+    WTF_MAKE_FAST_ALLOCATED;
 // Final because we made the destructor non-virtual.
 public:
     VariableDeclaration(CodeLocation codeLocation, Qualifiers&& qualifiers, Optional<UniqueRef<UnnamedType>>&& type, String&& name, std::unique_ptr<Semantic>&& semantic, std::unique_ptr<_expression_>&& initializer)

Modified: trunk/Source/WebCore/Modules/webgpu/WHLSL/AST/WHLSLVariableDeclarationsStatement.h (247812 => 247813)


--- trunk/Source/WebCore/Modules/webgpu/WHLSL/AST/WHLSLVariableDeclarationsStatement.h	2019-07-25 02:25:05 UTC (rev 247812)
+++ trunk/Source/WebCore/Modules/webgpu/WHLSL/AST/WHLSLVariableDeclarationsStatement.h	2019-07-25 02:40:05 UTC (rev 247813)
@@ -30,6 +30,7 @@
 #include "WHLSLLexer.h"
 #include "WHLSLStatement.h"
 #include "WHLSLVariableDeclaration.h"
+#include <wtf/FastMalloc.h>
 #include <wtf/Vector.h>
 
 namespace WebCore {
@@ -39,6 +40,7 @@
 namespace AST {
 
 class VariableDeclarationsStatement : public Statement {
+    WTF_MAKE_FAST_ALLOCATED;
 public:
     VariableDeclarationsStatement(CodeLocation location, VariableDeclarations&& variableDeclarations)
         : Statement(location)

Modified: trunk/Source/WebCore/Modules/webgpu/WHLSL/AST/WHLSLVariableReference.h (247812 => 247813)


--- trunk/Source/WebCore/Modules/webgpu/WHLSL/AST/WHLSLVariableReference.h	2019-07-25 02:25:05 UTC (rev 247812)
+++ trunk/Source/WebCore/Modules/webgpu/WHLSL/AST/WHLSLVariableReference.h	2019-07-25 02:40:05 UTC (rev 247813)
@@ -30,6 +30,7 @@
 #include "WHLSLExpression.h"
 #include "WHLSLLexer.h"
 #include "WHLSLVariableDeclaration.h"
+#include <wtf/FastMalloc.h>
 #include <wtf/text/WTFString.h>
 
 namespace WebCore {
@@ -39,6 +40,7 @@
 namespace AST {
 
 class VariableReference : public _expression_ {
+    WTF_MAKE_FAST_ALLOCATED;
 public:
     VariableReference(CodeLocation location, String&& name)
         : _expression_(location)

Modified: trunk/Source/WebCore/Modules/webgpu/WHLSL/AST/WHLSLWhileLoop.h (247812 => 247813)


--- trunk/Source/WebCore/Modules/webgpu/WHLSL/AST/WHLSLWhileLoop.h	2019-07-25 02:25:05 UTC (rev 247812)
+++ trunk/Source/WebCore/Modules/webgpu/WHLSL/AST/WHLSLWhileLoop.h	2019-07-25 02:40:05 UTC (rev 247813)
@@ -30,6 +30,7 @@
 #include "WHLSLExpression.h"
 #include "WHLSLLexer.h"
 #include "WHLSLStatement.h"
+#include <wtf/FastMalloc.h>
 #include <wtf/UniqueRef.h>
 
 namespace WebCore {
@@ -39,6 +40,7 @@
 namespace AST {
 
 class WhileLoop : public Statement {
+    WTF_MAKE_FAST_ALLOCATED;
 public:
     WhileLoop(CodeLocation location, UniqueRef<_expression_>&& conditional, UniqueRef<Statement>&& body)
         : Statement(location)

Modified: trunk/Source/WebCore/Modules/webgpu/WHLSL/Metal/WHLSLTypeNamer.cpp (247812 => 247813)


--- trunk/Source/WebCore/Modules/webgpu/WHLSL/Metal/WHLSLTypeNamer.cpp	2019-07-25 02:25:05 UTC (rev 247812)
+++ trunk/Source/WebCore/Modules/webgpu/WHLSL/Metal/WHLSLTypeNamer.cpp	2019-07-25 02:40:05 UTC (rev 247813)
@@ -43,6 +43,7 @@
 #include "WHLSLVisitor.h"
 #include <algorithm>
 #include <functional>
+#include <wtf/FastMalloc.h>
 #include <wtf/HashMap.h>
 #include <wtf/HashSet.h>
 #include <wtf/Optional.h>
@@ -58,6 +59,7 @@
 namespace Metal {
 
 class BaseTypeNameNode {
+    WTF_MAKE_FAST_ALLOCATED;
 public:
     BaseTypeNameNode(BaseTypeNameNode* parent, String&& mangledName)
         : m_parent(parent)
@@ -84,6 +86,7 @@
 };
 
 class ArrayTypeNameNode : public BaseTypeNameNode {
+    WTF_MAKE_FAST_ALLOCATED;
 public:
     ArrayTypeNameNode(BaseTypeNameNode* parent, String&& mangledName, unsigned numElements)
         : BaseTypeNameNode(parent, WTFMove(mangledName))
@@ -99,6 +102,7 @@
 };
 
 class ArrayReferenceTypeNameNode : public BaseTypeNameNode {
+    WTF_MAKE_FAST_ALLOCATED;
 public:
     ArrayReferenceTypeNameNode(BaseTypeNameNode* parent, String&& mangledName, AST::AddressSpace addressSpace)
         : BaseTypeNameNode(parent, WTFMove(mangledName))
@@ -114,6 +118,7 @@
 };
 
 class PointerTypeNameNode : public BaseTypeNameNode {
+    WTF_MAKE_FAST_ALLOCATED;
 public:
     PointerTypeNameNode(BaseTypeNameNode* parent, String&& mangledName, AST::AddressSpace addressSpace)
         : BaseTypeNameNode(parent, WTFMove(mangledName))
@@ -129,6 +134,7 @@
 };
 
 class ReferenceTypeNameNode : public BaseTypeNameNode {
+    WTF_MAKE_FAST_ALLOCATED;
 public:
     ReferenceTypeNameNode(BaseTypeNameNode* parent, String&& mangledName, AST::NamedType& namedType)
         : BaseTypeNameNode(parent, WTFMove(mangledName))
@@ -344,6 +350,7 @@
 }
 
 class MetalTypeDeclarationWriter : public Visitor {
+    WTF_MAKE_FAST_ALLOCATED;
 public:
     MetalTypeDeclarationWriter(std::function<String(AST::NamedType&)>&& mangledNameForNamedType)
         : m_mangledNameForNamedType(WTFMove(mangledNameForNamedType))
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to