diff options
Diffstat (limited to 'Source/JavaScriptCore/dfg/DFGCommon.h')
-rw-r--r-- | Source/JavaScriptCore/dfg/DFGCommon.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/JavaScriptCore/dfg/DFGCommon.h b/Source/JavaScriptCore/dfg/DFGCommon.h index fce76c68c..c9d3cbc32 100644 --- a/Source/JavaScriptCore/dfg/DFGCommon.h +++ b/Source/JavaScriptCore/dfg/DFGCommon.h @@ -134,6 +134,11 @@ enum NoResultTag { NoResult }; enum OptimizationFixpointState { FixpointConverged, FixpointNotConverged }; +inline bool shouldShowDisassembly() +{ + return Options::showDisassembly || Options::showDFGDisassembly; +} + } } // namespace JSC::DFG #endif // ENABLE(DFG_JIT) |