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
160357
Refactor DFG::Node::hasLocal() to accessesStack()
https://bugs.webkit.org/show_bug.cgi?id=160357
Summary
Refactor DFG::Node::hasLocal() to accessesStack()
Michael Saboff
Reported
2016-07-29 14:24:44 PDT
The Node class currently has two accessors, hasVariableAccessData() and hasLocal() that provide the same answer. As part of the work for <
https://bugs.webkit.org/show_bug.cgi?id=160355
> - "JSVALUE64: Pass arguments in platform argument registers when making JavaScript calls", there is need for distinct accessors. One of those accessors is needed to answer the question: "Does this node have a reference to a VariableAccessData object?". A second accessor is needed to answer the question: "Does this node read/write the stack?". That second question implies the need for such a node to have a reference to the appropriate VariableAccessData object, but within the DFG and FTL tier asserts a much stronger fact about the node. This patch is for the work to refactor hasLocal() to accessesStack().
Attachments
Patch
(8.39 KB, patch)
2016-07-29 14:41 PDT
,
Michael Saboff
fpizlo
: review+
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Michael Saboff
Comment 1
2016-07-29 14:41:43 PDT
Created
attachment 284903
[details]
Patch
Filip Pizlo
Comment 2
2016-07-29 14:46:48 PDT
Comment on
attachment 284903
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=284903&action=review
> Source/JavaScriptCore/ChangeLog:14 > + The hasVariableAccessData() check now iplies no more than the node has a
*implies
Michael Saboff
Comment 3
2016-07-29 15:05:17 PDT
Committed
r203923
: <
http://trac.webkit.org/changeset/203923
>
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