Bug 250941

Summary: SpeculativeJIT should be a subclass of DFG::JITCompiler
Product: WebKit Reporter: Keith Miller <keith_miller>
Component: JavaScriptCoreAssignee: Keith Miller <keith_miller>
Status: RESOLVED FIXED    
Severity: Normal CC: webkit-bug-importer
Priority: P2    
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Description Keith Miller 2023-01-21 09:58:41 PST
Right now SpeculativeJIT has an m_jit member that's used on each line we want to emit an instruction, which is a lot. We also have to qualify the names of each enum we want to use because those enums are declared a super class of JITCompiler. Subclassing would allow us to clean up both those issues.
Comment 1 Keith Miller 2023-01-21 10:08:21 PST
Pull request: https://github.com/WebKit/WebKit/pull/8922
Comment 2 EWS 2023-01-22 11:24:57 PST
Committed 259193@main (356da64c3b23): <https://commits.webkit.org/259193@main>

Reviewed commits have been landed. Closing PR #8922 and removing active labels.