Changeset 21761 in webkit
- Timestamp:
- May 25, 2007 10:26:32 AM (17 years ago)
- Location:
- trunk
- Files:
-
- 3 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/ChangeLog
r21751 r21761 1 2007-05-25 Kimmo Kinnunen <kimmok@iki.fi> 2 3 Reviewed by Darin. 4 5 - http://bugs.webkit.org/show_bug.cgi?id=13623 (Decompilation of function 6 doesn't compile with "++(x,y)") 7 - Create the error node based on the actual node, not the node inside 8 parenthesis 9 - Fix applies to postfix, prefix and typeof operators 10 - Produces run-time ReferenceError like other non-lvalue assignments etc. 11 12 * kjs/grammar.y: Create {Prefix,Postfix}ErrorNode based on the actual node, 13 not the based on the node returned by "nodeInsideAllParens()". Same for 14 TypeOfValueNode. 15 1 16 2007-05-25 Simon Hausmann <hausmann@kde.org> 2 17 -
trunk/JavaScriptCore/kjs/grammar.y
r21399 r21761 896 896 897 897 if (!n->isLocation()) 898 return new PrefixErrorNode( n, op);898 return new PrefixErrorNode(expr, op); 899 899 900 900 if (n->isResolveNode()) { … … 916 916 917 917 if (!n->isLocation()) 918 return new PostfixErrorNode( n, op);918 return new PostfixErrorNode(expr, op); 919 919 920 920 if (n->isResolveNode()) { … … 964 964 return new TypeOfResolveNode(resolve->identifier()); 965 965 } else 966 return new TypeOfValueNode( n);966 return new TypeOfValueNode(expr); 967 967 } 968 968 -
trunk/LayoutTests/ChangeLog
r21760 r21761 1 2007-05-25 Kimmo Kinnunen <kimmok@iki.fi> 2 3 Reviewed by Darin. 4 5 - http://bugs.webkit.org/show_bug.cgi?id=13623 (Decompilation of function 6 doesn't compile with "++(x,y)") 7 - Contains tests for grouping expression that is inside typeof or prefix/postfix 8 expression 9 10 * fast/js/resources/toString-prefix-postfix-preserve-parens.js: Added. 11 * fast/js/toString-prefix-postfix-preserve-parens-expected.txt: Added. 12 * fast/js/toString-prefix-postfix-preserve-parens.html: Added. 13 1 14 2007-05-25 Mitz Pettel <mitz@webkit.org> 2 15
Note: See TracChangeset
for help on using the changeset viewer.