Implement try/catch in the DFG.
[WebKit-https.git] / Source / JavaScriptCore / dfg / DFGPlan.cpp
index ec1ff46..a98cd45 100644 (file)
@@ -48,6 +48,7 @@
 #include "DFGInvalidationPointInjectionPhase.h"
 #include "DFGJITCompiler.h"
 #include "DFGLICMPhase.h"
+#include "DFGLiveCatchVariablePreservationPhase.h"
 #include "DFGLivenessAnalysisPhase.h"
 #include "DFGLoopPreHeaderCreationPhase.h"
 #include "DFGMaximalFlushInsertionPhase.h"
@@ -259,6 +260,8 @@ Plan::CompilationPath Plan::compileInThreadImpl(LongLivedState& longLivedState)
         dfg.dump();
     }
 
+    performLiveCatchVariablePreservationPhase(dfg);
+
     if (Options::enableMaximalFlushInsertionPhase())
         performMaximalFlushInsertion(dfg);