Bug 130764 - Arguments simplification phase should be fine with marking the arguments local itself as an arguments alias
Summary: Arguments simplification phase should be fine with marking the arguments loca...
Alias: None
Product: WebKit
Classification: Unclassified
Component: JavaScriptCore (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Filip Pizlo
Depends on:
Reported: 2014-03-25 19:52 PDT by Filip Pizlo
Modified: 2014-03-25 21:09 PDT (History)
8 users (show)

See Also:

the patch (3.98 KB, patch)
2014-03-25 19:56 PDT, Filip Pizlo
sam: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Filip Pizlo 2014-03-25 19:52:53 PDT
Being an arguments alias just means that your OSR exit recovery should attempt arguments creation.  This is true of arguments locals.  We had special cases that tried to make it not true of arguments locals.  The only consequence of those special cases was to cause crashes in case of arguments that are also captured variables (i.e. we have SlowArguments).

Comment 1 Filip Pizlo 2014-03-25 19:56:17 PDT
Created attachment 227824 [details]
the patch
Comment 2 Sam Weinig 2014-03-25 21:06:09 PDT
Comment on attachment 227824 [details]
the patch

View in context: https://bugs.webkit.org/attachment.cgi?id=227824&action=review

> Source/JavaScriptCore/ChangeLog:17
> +        arguments aliases, and non-captured variables get completely SSAified - i.e. no Setocals

Setocals -> SetLocals
Comment 3 Filip Pizlo 2014-03-25 21:09:35 PDT
Landed in http://trac.webkit.org/changeset/166281