From 1bf1084f2b10c3b47fd1a588d85d21ed0eb41d0c Mon Sep 17 00:00:00 2001 From: Lorry Tar Creator Date: Tue, 27 Jun 2017 06:07:23 +0000 Subject: webkitgtk-2.16.5 --- Source/JavaScriptCore/dfg/DFGMinifiedID.h | 17 +++++------------ 1 file changed, 5 insertions(+), 12 deletions(-) (limited to 'Source/JavaScriptCore/dfg/DFGMinifiedID.h') diff --git a/Source/JavaScriptCore/dfg/DFGMinifiedID.h b/Source/JavaScriptCore/dfg/DFGMinifiedID.h index 24ea25645..f741e7e1f 100644 --- a/Source/JavaScriptCore/dfg/DFGMinifiedID.h +++ b/Source/JavaScriptCore/dfg/DFGMinifiedID.h @@ -23,12 +23,7 @@ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ -#ifndef DFGMinifiedID_h -#define DFGMinifiedID_h - -#include - -#if ENABLE(DFG_JIT) +#pragma once #include "DFGCommon.h" #include @@ -39,6 +34,7 @@ namespace JSC { namespace DFG { class Graph; class MinifiedNode; class ValueSource; +struct Node; class MinifiedID { public: @@ -100,11 +96,8 @@ template<> struct DefaultHash { }; template struct HashTraits; -template<> struct HashTraits : SimpleClassHashTraits { }; +template<> struct HashTraits : SimpleClassHashTraits { + static const bool emptyValueIsZero = false; +}; } // namespace WTF - -#endif // ENABLE(DFG_JIT) - -#endif // DFGMinifiedID_h - -- cgit v1.2.1