diff options
author | Lorry Tar Creator <lorry-tar-importer@lorry> | 2017-06-27 06:07:23 +0000 |
---|---|---|
committer | Lorry Tar Creator <lorry-tar-importer@lorry> | 2017-06-27 06:07:23 +0000 |
commit | 1bf1084f2b10c3b47fd1a588d85d21ed0eb41d0c (patch) | |
tree | 46dcd36c86e7fbc6e5df36deb463b33e9967a6f7 /Source/JavaScriptCore/dfg/DFGVariableEventStream.h | |
parent | 32761a6cee1d0dee366b885b7b9c777e67885688 (diff) | |
download | WebKitGtk-tarball-master.tar.gz |
webkitgtk-2.16.5HEADwebkitgtk-2.16.5master
Diffstat (limited to 'Source/JavaScriptCore/dfg/DFGVariableEventStream.h')
-rw-r--r-- | Source/JavaScriptCore/dfg/DFGVariableEventStream.h | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/Source/JavaScriptCore/dfg/DFGVariableEventStream.h b/Source/JavaScriptCore/dfg/DFGVariableEventStream.h index 130fd6a99..1734a879c 100644 --- a/Source/JavaScriptCore/dfg/DFGVariableEventStream.h +++ b/Source/JavaScriptCore/dfg/DFGVariableEventStream.h @@ -1,5 +1,5 @@ /* - * Copyright (C) 2012 Apple Inc. All rights reserved. + * Copyright (C) 2012, 2014 Apple Inc. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions @@ -23,10 +23,7 @@ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ -#ifndef DFGVariableEventStream_h -#define DFGVariableEventStream_h - -#include <wtf/Platform.h> +#pragma once #if ENABLE(DFG_JIT) @@ -34,6 +31,7 @@ #include "DFGMinifiedGraph.h" #include "DFGVariableEvent.h" #include "Operands.h" +#include "ValueRecovery.h" #include <wtf/Vector.h> namespace JSC { namespace DFG { @@ -50,7 +48,7 @@ public: unsigned index, Operands<ValueRecovery>&) const; private: - bool tryToSetConstantRecovery(ValueRecovery&, CodeBlock*, MinifiedNode*) const; + bool tryToSetConstantRecovery(ValueRecovery&, MinifiedNode*) const; void logEvent(const VariableEvent&); }; @@ -58,6 +56,3 @@ private: } } // namespace JSC::DFG #endif // ENABLE(DFG_JIT) - -#endif // DFGVariableEventStream_h - |