WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
71134
De-virtualize JSObject::defineGetter
https://bugs.webkit.org/show_bug.cgi?id=71134
Summary
De-virtualize JSObject::defineGetter
Mark Hahnenberg
Reported
2011-10-28 12:36:37 PDT
We're de-virtualizing JSObject. defineGetter is a virtual method in JSObject. Thus, we need to de-virtualize defineGetter. We'll put it in the MethodTable.
Attachments
Patch
(28.26 KB, patch)
2011-10-28 13:34 PDT
,
Mark Hahnenberg
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Mark Hahnenberg
Comment 1
2011-10-28 13:34:49 PDT
Created
attachment 112902
[details]
Patch
Darin Adler
Comment 2
2011-10-28 17:24:44 PDT
Comment on
attachment 112902
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=112902&action=review
> Source/WebKit/qt/Api/qwebframe.cpp:517 > - window->defineGetter(exec, propertyName.get()->identifier(&exec->globalData()), ::toJS(function), > + window->methodTable()->defineGetter(window, exec, propertyName.get()->identifier(&exec->globalData()), ::toJS(function), > JSC::ReadOnly | JSC::DontEnum | JSC::DontDelete);
Not to everyone on the project: Here is an example of why we don’t line up subsequent lines of multiline statements.
WebKit Review Bot
Comment 3
2011-10-31 15:24:37 PDT
Comment on
attachment 112902
[details]
Patch Clearing flags on attachment: 112902 Committed
r98889
: <
http://trac.webkit.org/changeset/98889
>
WebKit Review Bot
Comment 4
2011-10-31 15:24:41 PDT
All reviewed patches have been landed. Closing bug.
Csaba Osztrogonác
Comment 5
2011-10-31 16:05:28 PDT
It broke the interpreter build. Build log from Qt SH4 buildbot: ../../../Source/JavaScriptCore/interpreter/Interpreter.cpp:4992:115: error: too few arguments to function Could you fix the build please?
Csaba Osztrogonác
Comment 6
2011-10-31 17:31:07 PDT
(In reply to
comment #5
)
> It broke the interpreter build. Build log from Qt SH4 buildbot: > > ../../../Source/JavaScriptCore/interpreter/Interpreter.cpp:4992:115: error: too few arguments to function > > Could you fix the build please?
Buildfix landed in
http://trac.webkit.org/changeset/98916
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