[Webkit-unassigned] [Bug 14868] Import variable lookup optimizations from KJS
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Sat Aug 4 17:07:35 PDT 2007
http://bugs.webkit.org/show_bug.cgi?id=14868
oliver at apple.com changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #15815|review? |review-
Flag| |
------- Comment #2 from oliver at apple.com 2007-08-04 17:07 PDT -------
(From update of attachment 15815)
Need an extra space for indenting the comment at
+ if (!body->builtSymbolList()) {
+ // now handle other locals (functions, variables)
+ body->processDecls(&newExec);
I'm less keen on + //### Document this, ugh.
function.h should also probably have you copyright info now
ActivationImp
putLocal -> replace assert with ASSERT
putLocalChecked -> return on a new line
isLocalReadOnly -> i'm not sure but i believe VS will want
!!(_locals[propertyID].attr & ReadOnly)
VarAccessNode
optimizeLocalAccess -> no braces for "} else {" (and the closing '}')
NonLocalVarAccessNode
evaluateReference -> s/assert/ASSERT/
nodes.h should possibly gain your copyright
there are quite a few other places where assert is used instead of ASSERT
There are quite a few portions of this patch that look fairly trivial to make
independent of this major patch -- for instance the [int] optimisation seems
completely distinct from the improved scope lookup
--
Configure bugmail: http://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the webkit-unassigned
mailing list