Add peephole optimisation to 'op_not... jfalse...' (eg. if(!...) )
authoroliver@apple.com <oliver@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 13 Aug 2008 03:17:19 +0000 (03:17 +0000)
committeroliver@apple.com <oliver@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 13 Aug 2008 03:17:19 +0000 (03:17 +0000)
commit66ee8faa84cbf01ca3b37e0f27f8bbf75e19b657
tree9789f144bb42200548271c373375516013e100f3
parent31035e10286fb20dc193f6503a7ccc6e9ac35df8
Add peephole optimisation to 'op_not... jfalse...' (eg. if(!...) )

Reviewed by Geoff Garen

This is a very slight win in sunspider, and a fairly substantial win
in hot code that does if(!...), etc.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@35703 268f45cc-cd09-0410-ab3c-d52691b4dbfc
JavaScriptCore/ChangeLog
JavaScriptCore/VM/CodeGenerator.cpp
JavaScriptCore/VM/CodeGenerator.h