summaryrefslogtreecommitdiff
path: root/Source/JavaScriptCore/dfg/DFGVariableEventStream.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/JavaScriptCore/dfg/DFGVariableEventStream.h')
-rw-r--r--Source/JavaScriptCore/dfg/DFGVariableEventStream.h13
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
-