2008-06-11 Cameron Zwarich <cwzwarich@uwaterloo.ca>
authorcwzwarich@webkit.org <cwzwarich@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 12 Jun 2008 00:33:48 +0000 (00:33 +0000)
committercwzwarich@webkit.org <cwzwarich@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 12 Jun 2008 00:33:48 +0000 (00:33 +0000)
commit925cb8e8b24a001cfc2d584b0f2f6b4f3899c031
treef7ba3a7966be2d8860a0f3f811fcf691fe1f4511
parent98577afa9b01c2c688709aca9f0ea2b1a22e0d52
2008-06-11  Cameron Zwarich  <cwzwarich@uwaterloo.ca>

        Reviewed by Maciej.

        Bug 19498: REGRESSION (r34497): crash while loading GMail
        <https://bugs.webkit.org/show_bug.cgi?id=19498>

        JavaScriptCore:

        * VM/CodeGenerator.cpp:
        (KJS::CodeGenerator::emitJumpIfTrueOptimized):
        (KJS::CodeGenerator::emitJumpIfTrue):
        * VM/CodeGenerator.h:
        * kjs/nodes.cpp:
        (KJS::DoWhileNode::emitCode):
        (KJS::WhileNode::emitCode):
        (KJS::ForNode::emitCode):
        (KJS::CaseBlockNode::emitCodeForBlock):

        LayoutTests:

        * fast/js/logical-or-jless-expected.txt: Added.
        * fast/js/logical-or-jless.html: Added.
        * fast/js/resources/logical-or-jless.js: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@34500 268f45cc-cd09-0410-ab3c-d52691b4dbfc
JavaScriptCore/ChangeLog
JavaScriptCore/VM/CodeGenerator.cpp
JavaScriptCore/VM/CodeGenerator.h
JavaScriptCore/kjs/nodes.cpp
LayoutTests/ChangeLog
LayoutTests/fast/js/logical-or-jless-expected.txt [new file with mode: 0644]
LayoutTests/fast/js/logical-or-jless.html [new file with mode: 0644]
LayoutTests/fast/js/resources/logical-or-jless.js [new file with mode: 0644]