6d163d9fd0
Storing a JSArray in the Script object could cause an indirect reference from the compilation cache to a global object to be created. Now the line ends are only stored as a FixedArrya and when that is needed in JavaScript a JSArray copy is created. Changed some of the JavaScript code to cache the line ends in a local variable for better performance. BUG=http://code.google.com/p/v8/issues/detail?id=528 TEST=test/test-api/Bug528 Review URL: http://codereview.chromium.org/434117 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@3374 ce2b1a6d-e550-0410-aec6-3dcde31c8c00 |
||
---|---|---|
.. | ||
cctest | ||
es5conform | ||
message | ||
mjsunit | ||
mozilla | ||
sputnik |