Summary: | Inline code generation of eq_null/neq_null for CTI. | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Gavin Barraclough <barraclough> | ||||
Component: | JavaScriptCore | Assignee: | Gavin Barraclough <barraclough> | ||||
Status: | RESOLVED FIXED | ||||||
Severity: | Normal | ||||||
Priority: | P2 | ||||||
Version: | 528+ (Nightly build) | ||||||
Hardware: | Mac | ||||||
OS: | OS X 10.5 | ||||||
Attachments: |
|
Description
Gavin Barraclough
2008-09-15 15:29:31 PDT
Created attachment 23448 [details]
The patch
Comment on attachment 23448 [details]
The patch
r=me, but i give a stern parental was of the index finger at this vptr abuse -- we need to get off of it!
Also, please add a comment in JSObject.h by the declaration of JSObject::masqueradesAsUndefined that basically says, "You can't usefully override this virtual function without hand-coding some assembly in CTI.cpp"
*wag I said wag! Sending JavaScriptCore/ChangeLog Sending JavaScriptCore/VM/CTI.cpp Sending JavaScriptCore/VM/CTI.h Sending JavaScriptCore/VM/Machine.cpp Sending JavaScriptCore/VM/Machine.h Sending JavaScriptCore/kjs/JSCell.h Sending JavaScriptCore/kjs/JSWrapperObject.h Sending JavaScriptCore/kjs/StringObject.h Sending JavaScriptCore/kjs/StringObjectThatMasqueradesAsUndefined.h Transmitting file data ......... Committed revision 36462. |