WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
148245
[JSC] Get rid of DFG's MergeMode
https://bugs.webkit.org/show_bug.cgi?id=148245
Summary
[JSC] Get rid of DFG's MergeMode
Benjamin Poulain
Reported
2015-08-20 14:16:49 PDT
[JSC] Get rid of DFG's MergeMode
Attachments
Patch
(13.13 KB, patch)
2015-08-20 14:17 PDT
,
Benjamin Poulain
no flags
Details
Formatted Diff
Diff
Patch
(13.70 KB, patch)
2015-08-20 17:38 PDT
,
Benjamin Poulain
mark.lam
: review+
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Benjamin Poulain
Comment 1
2015-08-20 14:17:24 PDT
Created
attachment 259493
[details]
Patch
Filip Pizlo
Comment 2
2015-08-20 16:39:00 PDT
Comment on
attachment 259493
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=259493&action=review
> Source/JavaScriptCore/dfg/DFGInPlaceAbstractState.h:86 > // the block's data structures. There are three return modes, depending > // on the value of mergeMode: > // > - // DontMerge: > - // Always returns false. > - // > - // MergeToTail: > - // Returns true if the state of the block at the tail was changed. > - // This means that you must call mergeToSuccessors(), and if that > - // returns true, then you must revisit (at least) the successor > - // blocks. False will always be returned if the block is terminal > - // (i.e. ends in Throw or Return, or has a ForceOSRExit inside it). > - // > - // MergeToSuccessors: > // Returns true if the state of the block at the tail was changed, > // and, if the state at the heads of successors was changed. > // A true return means that you must revisit (at least) the successor > // blocks. This also sets cfaShouldRevisit to true for basic blocks > // that must be visited next. > - bool endBasicBlock(MergeMode); > + bool endBasicBlock();
You should probably update this comment a bit!
Benjamin Poulain
Comment 3
2015-08-20 17:38:45 PDT
Created
attachment 259538
[details]
Patch
Mark Lam
Comment 4
2015-08-28 09:38:37 PDT
Comment on
attachment 259538
[details]
Patch r=me. Please also remove the entries for DFGMergeMode.h from JavaScriptCore.vcxproj and JavaScriptCore.vcxproj.filters in Source/JavaScriptCore/JavaScriptCore.vcxproj.
Benjamin Poulain
Comment 5
2015-08-28 19:04:52 PDT
Committed
r189138
: <
http://trac.webkit.org/changeset/189138
>
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