WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED INVALID
74628
Avoid double-lookup when setting static-scoped vars in strict mode
https://bugs.webkit.org/show_bug.cgi?id=74628
Summary
Avoid double-lookup when setting static-scoped vars in strict mode
Andy Wingo
Reported
2011-12-15 10:48:26 PST
The patch to be attached avoids a double-lookup when setting variables bound in a static scope.
Attachments
Patch
(3.08 KB, patch)
2011-12-15 10:50 PST
,
Andy Wingo
no flags
Details
Formatted Diff
Diff
Patch
(3.08 KB, patch)
2011-12-15 10:53 PST
,
Andy Wingo
no flags
Details
Formatted Diff
Diff
Patch
(3.03 KB, patch)
2012-01-18 10:29 PST
,
Andy Wingo
no flags
Details
Formatted Diff
Diff
Show Obsolete
(3)
View All
Add attachment
proposed patch, testcase, etc.
Andy Wingo
Comment 1
2011-12-15 10:50:51 PST
Created
attachment 119462
[details]
Patch
Andy Wingo
Comment 2
2011-12-15 10:51:48 PST
Comment on
attachment 119462
[details]
Patch I'm looking to use this object for implementing heap-allocated block-scoped variables in the future, and this double-lookup would be more egregious in that case.
Andy Wingo
Comment 3
2011-12-15 10:53:20 PST
Created
attachment 119463
[details]
Patch
Andy Wingo
Comment 4
2011-12-15 10:53:53 PST
Comment on
attachment 119463
[details]
Patch Fixed a style issue in the log.
WebKit Review Bot
Comment 5
2011-12-15 10:54:08 PST
Attachment 119462
[details]
did not pass style-queue: Failed to run "['Tools/Scripts/check-webkit-style', '--diff-files', u'Source/JavaScriptCore/ChangeLog', u'Source..." exit_code: 1 Source/JavaScriptCore/ChangeLog:8: Need whitespace between colon and description [changelog/filechangedescriptionwhitespace] [5] Total errors found: 1 in 2 files If any of these errors are false positives, please file a bug against check-webkit-style.
Andy Wingo
Comment 6
2012-01-18 10:29:15 PST
Created
attachment 122958
[details]
Patch
Gavin Barraclough
Comment 7
2012-01-18 10:44:14 PST
Hi Andy, You really need to address my comments in
https://bugs.webkit.org/show_bug.cgi?id=74633
. If the route we want to pursue to implement let & const is based on activations, then increasing coupling between the JSStaticScopeObject and JSVariableObject classes doesn't make sense.
Andy Wingo
Comment 8
2012-01-18 11:11:55 PST
(In reply to
comment #7
)
> Hi Andy, > > You really need to address my comments in
https://bugs.webkit.org/show_bug.cgi?id=74633
. > > If the route we want to pursue to implement let & const is based on activations, then increasing coupling between the JSStaticScopeObject and JSVariableObject classes doesn't make sense.
Is squirrelfish-dev a suitable venue for you? I thought we might need a central location, given the proliferation of these bugs...
Filip Pizlo
Comment 9
2013-10-31 11:33:30 PDT
Comment on
attachment 122958
[details]
Patch Is this still relevant? Looks like this would need a fairly big rebase.
Andy Wingo
Comment 10
2013-11-04 04:50:43 PST
(In reply to
comment #9
)
> (From update of
attachment 122958
[details]
) > Is this still relevant? Looks like this would need a fairly big rebase.
No idea. I reckon anyone working in this area in the future would catch whatever bugs need to be fixed, so holding this open doesn't do anyone any good; closing.
Csaba Osztrogonác
Comment 11
2013-11-05 08:40:16 PST
Comment on
attachment 122958
[details]
Patch Cleared review? from
attachment 122958
[details]
so that this bug does not appear in
http://webkit.org/pending-review
. If you would like this patch reviewed, please attach it to a new bug (or re-open this bug before marking it for review again).
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