WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
21404
optimize op_jtrue, op_loop_if_true and op_not in various ways
https://bugs.webkit.org/show_bug.cgi?id=21404
Summary
optimize op_jtrue, op_loop_if_true and op_not in various ways
Maciej Stachowiak
Reported
2008-10-06 10:40:10 PDT
It's possible to speed up opcodes that use toBoolean conversion in a number of ways: 1) Make JSValue::toBoolean nonvirtual and completely inline by making use of the StructureID type field. 2) Make JSValue::toBoolean not take an ExecState; doesn't need it. 3) Make op_not, op_loop_if_true and op_jtrue not read the ExecState (toBoolean doesn't need it any more) and not check exceptions (toBoolean can't throw).
Attachments
speedup patch
(17.83 KB, patch)
2008-10-06 10:43 PDT
,
Maciej Stachowiak
sam
: review+
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Maciej Stachowiak
Comment 1
2008-10-06 10:43:09 PDT
Created
attachment 24116
[details]
speedup patch
Sam Weinig
Comment 2
2008-10-06 10:49:32 PDT
Comment on
attachment 24116
[details]
speedup patch r=me. Please include the perf delta in the ChangeLog.
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