summaryrefslogtreecommitdiff
path: root/Source/JavaScriptCore/dfg/DFGFlushedAt.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/JavaScriptCore/dfg/DFGFlushedAt.h')
-rw-r--r--Source/JavaScriptCore/dfg/DFGFlushedAt.h10
1 files changed, 1 insertions, 9 deletions
diff --git a/Source/JavaScriptCore/dfg/DFGFlushedAt.h b/Source/JavaScriptCore/dfg/DFGFlushedAt.h
index 6dfe716cc..11ace4549 100644
--- a/Source/JavaScriptCore/dfg/DFGFlushedAt.h
+++ b/Source/JavaScriptCore/dfg/DFGFlushedAt.h
@@ -23,10 +23,7 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef DFGFlushedAt_h
-#define DFGFlushedAt_h
-
-#include <wtf/Platform.h>
+#pragma once
#if ENABLE(DFG_JIT)
@@ -54,8 +51,6 @@ public:
{
if (format == DeadFlush)
ASSERT(!virtualRegister.isValid());
- else
- ASSERT(virtualRegister.isValid());
}
bool operator!() const { return m_format == DeadFlush; }
@@ -93,6 +88,3 @@ private:
} } // namespace JSC::DFG
#endif // ENABLE(DFG_JIT)
-
-#endif // DFGFlushedAt_h
-