summaryrefslogtreecommitdiff
path: root/Source/JavaScriptCore/dfg/DFGPredictionPropagationPhase.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/JavaScriptCore/dfg/DFGPredictionPropagationPhase.h')
-rw-r--r--Source/JavaScriptCore/dfg/DFGPredictionPropagationPhase.h9
1 files changed, 2 insertions, 7 deletions
diff --git a/Source/JavaScriptCore/dfg/DFGPredictionPropagationPhase.h b/Source/JavaScriptCore/dfg/DFGPredictionPropagationPhase.h
index 29fe8455e..156177771 100644
--- a/Source/JavaScriptCore/dfg/DFGPredictionPropagationPhase.h
+++ b/Source/JavaScriptCore/dfg/DFGPredictionPropagationPhase.h
@@ -23,10 +23,7 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef DFGPredictionPropagationPhase_h
-#define DFGPredictionPropagationPhase_h
-
-#include <wtf/Platform.h>
+#pragma once
#if ENABLE(DFG_JIT)
@@ -48,10 +45,8 @@ class Graph;
bool performPredictionPropagation(Graph&);
// Helper used for FixupPhase for computing the predicted type of a ToPrimitive.
-SpeculatedType resultOfToPrimitive(SpeculatedType type);
+SpeculatedType resultOfToPrimitive(SpeculatedType);
} } // namespace JSC::DFG::Phase
#endif // ENABLE(DFG_JIT)
-
-#endif // DFGPredictionPropagationPhase_h