WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
175208
Move DFG::OSRExitCompiler methods into DFG::OSRExit [step 1].
https://bugs.webkit.org/show_bug.cgi?id=175208
Summary
Move DFG::OSRExitCompiler methods into DFG::OSRExit [step 1].
Mark Lam
Reported
2017-08-04 14:17:01 PDT
This will minimize the code diff and make it easier to review the patch for
https://bugs.webkit.org/show_bug.cgi?id=175144
later. We'll do this patch in 3 steps: 1. Do the code changes to move methods into OSRExit. 2. Unify the 32-bit and 64-bit implementations of compileExit(). 3. A follow up patch to actually copy the methods into DFGOSRExit.cpp, and delete the DFGOSRExitCompiler files. Splitting this refactoring into these 3 steps also makes it easier to review this patch and understand what is being changed.
Attachments
proposed patch.
(40.25 KB, patch)
2017-08-04 14:30 PDT
,
Mark Lam
no flags
Details
Formatted Diff
Diff
proposed patch.
(40.31 KB, patch)
2017-08-04 14:40 PDT
,
Mark Lam
saam
: review+
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Mark Lam
Comment 1
2017-08-04 14:30:05 PDT
Created
attachment 317289
[details]
proposed patch.
Mark Lam
Comment 2
2017-08-04 14:35:23 PDT
(In reply to Mark Lam from
comment #0
)
> 1. Do the code changes to move methods into OSRExit. > 2. Unify the 32-bit and 64-bit implementations of compileExit(). > 3. A follow up patch to actually copy the methods into DFGOSRExit.cpp, and > delete the DFGOSRExitCompiler files.
Let's change that. I'll do this in the following steps instead: 1. Do the code changes to move methods into OSRExit. 2. Copy the 64-bit and common methods into DFGOSRExit.cpp, and delete the unused DFGOSRExitCompiler files. 3. Merge the 32-bit OSRExitCompiler methods into the 64-bit version, and delete DFGOSRExitCompiler32_64.cpp. I think it's easier (and less error prone) to execute the refactoring this way.
Radar WebKit Bug Importer
Comment 3
2017-08-04 14:35:41 PDT
<
rdar://problem/33732402
>
Mark Lam
Comment 4
2017-08-04 14:40:51 PDT
Created
attachment 317292
[details]
proposed patch.
Saam Barati
Comment 5
2017-08-04 15:00:10 PDT
Comment on
attachment 317292
[details]
proposed patch. r=me
Mark Lam
Comment 6
2017-08-04 15:04:31 PDT
Thanks for the review. Landed in
r220298
: <
http://trac.webkit.org/r220298
>.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug