Bug 141048 - Removed op_ret_object_or_this
Summary: Removed op_ret_object_or_this
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Geoffrey Garen
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-01-29 14:05 PST by Geoffrey Garen
Modified: 2015-01-29 15:17 PST (History)
0 users

See Also:


Attachments
Patch (10.80 KB, patch)
2015-01-29 14:09 PST, Geoffrey Garen
no flags Details | Formatted Diff | Diff
Patch (11.15 KB, patch)
2015-01-29 14:42 PST, Geoffrey Garen
msaboff: review+
Details | Formatted Diff | Diff
performance test results (50.34 KB, text/plain)
2015-01-29 15:15 PST, Geoffrey Garen
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Geoffrey Garen 2015-01-29 14:05:33 PST
Removed op_ret_object_or_this
Comment 1 Geoffrey Garen 2015-01-29 14:09:10 PST
Created attachment 245646 [details]
Patch
Comment 2 Ryosuke Niwa 2015-01-29 14:13:37 PST
Comment on attachment 245646 [details]
Patch

Please run the benchmarks before landing this.
Comment 3 Geoffrey Garen 2015-01-29 14:42:35 PST
Created attachment 245651 [details]
Patch
Comment 4 Geoffrey Garen 2015-01-29 14:43:27 PST
Caught a bug: You need to test is_object and is_function since is_object only tests "typeof x == 'object'", which doesn't cover functions.
Comment 5 Michael Saboff 2015-01-29 15:03:47 PST
Comment on attachment 245651 [details]
Patch

r=me
Comment 6 Geoffrey Garen 2015-01-29 15:15:32 PST
Created attachment 245659 [details]
performance test results

I'd call this neutral. The fluctuating speedups and slowdowns don't hit this code path.
Comment 7 Geoffrey Garen 2015-01-29 15:17:14 PST
Committed r179372: <http://trac.webkit.org/changeset/179372>