Optimise lookup of Math, undefined, NaN and Infinity
authoroliver@apple.com <oliver@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 22 Mar 2008 04:59:20 +0000 (04:59 +0000)
committeroliver@apple.com <oliver@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 22 Mar 2008 04:59:20 +0000 (04:59 +0000)
commit8bf0fc09d397ccaff0bb83f17c2bdb84065eabc2
tree4e4f5a4dd8373a7f8e4022e167a068164c737561
parent5b325fb1e127232637c2358f7c89bef4b3a9ce1c
Optimise lookup of Math, undefined, NaN and Infinity

Reviewed by Maciej

Added a method to JSVariableObject to allow us to inject DontDelete properties
into the symbol table and localStorage.  This results in a 0.4% progression in
SunSpider, with a 8% gain in math-partial-sums.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@31226 268f45cc-cd09-0410-ab3c-d52691b4dbfc
JavaScriptCore/ChangeLog
JavaScriptCore/kjs/JSGlobalObject.cpp
JavaScriptCore/kjs/JSVariableObject.h