Index: Source/JavaScriptCore/ChangeLog |
=================================================================== |
--- Source/JavaScriptCore/ChangeLog (revision 88459) |
+++ Source/JavaScriptCore/ChangeLog (working copy) |
@@ -1,3 +1,636 @@ |
+2011-06-08 Sailesh Agrawal <sail@chromium.org> |
+ |
+ Reviewed by Mihai Parparita. |
+ |
+ Chromium Mac: Enable overlay scrollbars |
+ https://bugs.webkit.org/show_bug.cgi?id=59756 |
+ |
+ Enable WTF_USE_WK_SCROLLBAR_PAINTER for Chromium Mac. This allows us to use overlay scrollbars on future versions of Mac OS X. |
+ |
+ * wtf/Platform.h: |
+ |
+2011-06-08 Oliver Hunt <oliver@apple.com> |
+ |
+ Reviewed by Geoffrey Garen. |
+ |
+ Add faster lookup cache for multi character identifiers |
+ https://bugs.webkit.org/show_bug.cgi?id=62327 |
+ |
+ Add a non-hash lookup for mutiple character identifiers. This saves us from |
+ adding repeated identifiers to the ParserArena's identifier list as people |
+ tend to not start all their variables and properties with the same character |
+ and happily identifier locality works in our favour. |
+ |
+ * parser/ParserArena.h: |
+ (JSC::IdentifierArena::isEmpty): |
+ (JSC::IdentifierArena::clear): |
+ (JSC::IdentifierArena::makeIdentifier): |
+ |
+2011-06-08 Geoffrey Garen <ggaren@apple.com> |
+ |
+ Reviewed by Oliver Hunt. |
+ |
+ Took some responsibilities away from NewSpace |
+ https://bugs.webkit.org/show_bug.cgi?id=62325 |
+ |
+ NewSpace is basically just an allocator now. |
+ |
+ Heap acts as a controller, responsible for managing the set of all |
+ MarkedBlocks. |
+ |
+ This is in preparation for moving parts of the controller logic into |
+ separate helper classes that can act on arbitrary sets of MarkedBlocks |
+ that may or may not be in NewSpace. |
+ |
+ * heap/Heap.cpp: |
+ (JSC::Heap::Heap): |
+ (JSC::Heap::destroy): |
+ (JSC::Heap::allocate): |
+ (JSC::Heap::markRoots): |
+ (JSC::Heap::clearMarks): |
+ (JSC::Heap::sweep): |
+ (JSC::Heap::objectCount): |
+ (JSC::Heap::size): |
+ (JSC::Heap::capacity): |
+ (JSC::Heap::collect): |
+ (JSC::Heap::resetAllocator): |
+ (JSC::Heap::allocateBlock): |
+ (JSC::Heap::freeBlocks): |
+ (JSC::Heap::shrink): Moved the set of MarkedBlocks from NewSpace to Heap, |
+ along with all functions that operate on the set of MarkedBlocks. Also |
+ moved responsibility for deciding whether to allocate a new MarkedBlock, |
+ and for allocating it. |
+ |
+ * heap/Heap.h: |
+ (JSC::Heap::contains): |
+ (JSC::Heap::forEach): Ditto. |
+ |
+ * heap/NewSpace.cpp: |
+ (JSC::NewSpace::addBlock): |
+ (JSC::NewSpace::removeBlock): |
+ (JSC::NewSpace::resetAllocator): |
+ * heap/NewSpace.h: |
+ (JSC::NewSpace::waterMark): |
+ (JSC::NewSpace::allocate): Ditto. |
+ |
+2011-06-08 Geoffrey Garen <ggaren@apple.com> |
+ |
+ Reviewed by Oliver Hunt. |
+ |
+ Some more MarkedSpace => NewSpace renaming |
+ https://bugs.webkit.org/show_bug.cgi?id=62305 |
+ |
+ * JavaScriptCore.exp: |
+ * JavaScriptCore.order: |
+ * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.def: |
+ * heap/Heap.cpp: |
+ (JSC::Heap::Heap): |
+ (JSC::Heap::destroy): |
+ (JSC::Heap::reportExtraMemoryCostSlowCase): |
+ (JSC::Heap::allocate): |
+ (JSC::Heap::markRoots): |
+ (JSC::Heap::objectCount): |
+ (JSC::Heap::size): |
+ (JSC::Heap::capacity): |
+ (JSC::Heap::collect): |
+ (JSC::Heap::isValidAllocation): |
+ * heap/Heap.h: |
+ (JSC::Heap::markedSpace): |
+ (JSC::Heap::contains): |
+ (JSC::Heap::forEach): |
+ (JSC::Heap::allocate): |
+ * runtime/JSCell.h: |
+ |
+2011-06-08 Kevin Ollivier <kevino@theolliviers.com> |
+ |
+ Reviewed by Eric Seidel. |
+ |
+ Add export macros to profiler headers. |
+ https://bugs.webkit.org/show_bug.cgi?id=27551 |
+ |
+ * profiler/Profiler.h: |
+ |
+2011-06-08 Kevin Ollivier <kevino@theolliviers.com> |
+ |
+ Reviewed by Eric Seidel. |
+ |
+ Add export symbols to parser headers. |
+ https://bugs.webkit.org/show_bug.cgi?id=27551 |
+ |
+ * parser/SourceProviderCache.h: |
+ |
+2011-06-08 Kevin Ollivier <kevino@theolliviers.com> |
+ |
+ Reviewed by Eric Seidel. |
+ |
+ Add export symbols to interpreter headers. |
+ https://bugs.webkit.org/show_bug.cgi?id=27551 |
+ |
+ * interpreter/Interpreter.h: |
+ |
+2011-06-08 Kevin Ollivier <kevino@theolliviers.com> |
+ |
+ Reviewed by Eric Seidel. |
+ |
+ Add export symbols to debugger headers. |
+ https://bugs.webkit.org/show_bug.cgi?id=27551 |
+ |
+ * debugger/Debugger.h: |
+ * debugger/DebuggerCallFrame.h: |
+ |
+2011-06-08 Geoffrey Garen <ggaren@apple.com> |
+ |
+ Reviewed by Darin Adler. |
+ |
+ Moved MarkedSpace.* to NewSpace.* in preparation for more renaming |
+ https://bugs.webkit.org/show_bug.cgi?id=62268 |
+ |
+ * CMakeLists.txt: |
+ * GNUmakefile.list.am: |
+ * JavaScriptCore.gypi: |
+ * JavaScriptCore.pro: |
+ * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.vcproj: |
+ * JavaScriptCore.xcodeproj/project.pbxproj: |
+ * heap/Heap.h: |
+ * heap/MarkedBlock.h: |
+ * heap/MarkedSpace.cpp: Removed. |
+ * heap/MarkedSpace.h: Removed. |
+ * heap/NewSpace.cpp: Copied from Source/JavaScriptCore/heap/MarkedSpace.cpp. |
+ * heap/NewSpace.h: Copied from Source/JavaScriptCore/heap/MarkedSpace.h. |
+ |
+2011-06-08 Sheriff Bot <webkit.review.bot@gmail.com> |
+ |
+ Unreviewed, rolling out r88365. |
+ http://trac.webkit.org/changeset/88365 |
+ https://bugs.webkit.org/show_bug.cgi?id=62301 |
+ |
+ windows bots broken (Requested by loislo_ on #webkit). |
+ |
+ * JavaScriptCore.exp: |
+ |
+2011-06-08 Ryan Sleevi <rsleevi@chromium.org> |
+ |
+ Reviewed by Tony Chang. |
+ |
+ Suppress C++0x compat warnings when compiling Chromium port with GCC 4.6 |
+ |
+ Compiling Chromium port under GCC 4.6 produces warnings about nullptr |
+ https://bugs.webkit.org/show_bug.cgi?id=62242 |
+ |
+ * JavaScriptCore.gyp/JavaScriptCore.gyp: |
+ |
+2011-06-08 Ademar de Souza Reis Jr. <ademar.reis@openbossa.org> |
+ |
+ Reviewed by Andreas Kling. |
+ |
+ Webkit on SPARC Solaris has wrong endian |
+ https://bugs.webkit.org/show_bug.cgi?id=29407 |
+ |
+ Bug 57256 fixed one crash on misaligned reads on sparc/solaris, but |
+ there are more ocurrences of the same code pattern in webkit. |
+ |
+ This patch includes the check on these other parts of the code. |
+ |
+ This is a speculative fix, I don't have a sparc machine to test and |
+ don't know which kind of test would trigger a crash (but it's quite |
+ obvious that it's the same code duplicated in different files). |
+ |
+ * runtime/UString.h: |
+ (JSC::UStringHash::equal): |
+ * wtf/text/StringHash.h: |
+ (WTF::StringHash::equal): |
+ |
+2011-06-08 Yael Aharon <yael.aharon@nokia.com> |
+ |
+ Reviewed by Andreas Kling. |
+ |
+ [Qt] Build fix for building QtWebKit inside of Qt. |
+ https://bugs.webkit.org/show_bug.cgi?id=62280 |
+ |
+ Remove CONFIG=staticlib, because it causes the configure script to add -ljavascriptcore |
+ into QtWebKit.prl. |
+ |
+ No new tests, as this is just a build fix. |
+ |
+ * JavaScriptCore.pri: |
+ |
+2011-06-07 Geoffrey Garen <ggaren@apple.com> |
+ |
+ Reviewed by Oliver Hunt. |
+ |
+ Split 'reset' into 'collect' and 'resetAllocator' |
+ https://bugs.webkit.org/show_bug.cgi?id=62267 |
+ |
+ * heap/Heap.cpp: |
+ (JSC::Heap::allocate): |
+ (JSC::Heap::collectAllGarbage): |
+ (JSC::Heap::collect): |
+ * heap/Heap.h: |
+ * heap/MarkedBlock.h: |
+ (JSC::MarkedBlock::resetAllocator): |
+ * heap/MarkedSpace.cpp: |
+ (JSC::MarkedSpace::resetAllocator): |
+ * heap/MarkedSpace.h: |
+ (JSC::MarkedSpace::SizeClass::resetAllocator): |
+ |
+2011-06-07 Geoffrey Garen <ggaren@apple.com> |
+ |
+ Reviewed by Sam Weinig. |
+ |
+ Renamed some more marks to visits |
+ https://bugs.webkit.org/show_bug.cgi?id=62254 |
+ |
+ * heap/HandleHeap.cpp: |
+ (JSC::HandleHeap::visitStrongHandles): |
+ (JSC::HandleHeap::visitWeakHandles): |
+ * heap/HandleHeap.h: |
+ * heap/HandleStack.cpp: |
+ (JSC::HandleStack::visit): |
+ * heap/HandleStack.h: |
+ * heap/Heap.cpp: |
+ (JSC::Heap::markProtectedObjects): |
+ (JSC::Heap::markTempSortVectors): |
+ (JSC::Heap::markRoots): |
+ * heap/HeapRootVisitor.h: |
+ (JSC::HeapRootVisitor::visit): |
+ * runtime/ArgList.cpp: |
+ (JSC::MarkedArgumentBuffer::markLists): |
+ |
+2011-06-07 Gavin Barraclough <barraclough@apple.com> |
+ |
+ Reviewed by Sam Weinig |
+ |
+ https://bugs.webkit.org/show_bug.cgi?id=55537 |
+ Functions claim to have 'callee' which they actually don't (and shouldn't) |
+ |
+ * JavaScriptCore.xcodeproj/project.pbxproj: |
+ * runtime/JSFunction.cpp: |
+ (JSC::JSFunction::getOwnPropertyNames): |
+ |
+2011-06-07 Juan C. Montemayor <jmont@apple.com> |
+ |
+ Reviewed by Darin Adler. |
+ |
+ Make JSStaticFunction and JSStaticValue less "const" |
+ https://bugs.webkit.org/show_bug.cgi?id=62222 |
+ |
+ * API/JSObjectRef.h: |
+ * API/tests/testapi.c: |
+ (checkConstnessInJSObjectNames): |
+ (main): |
+ * JavaScriptCore.xcodeproj/project.pbxproj: |
+ |
+2011-06-07 Gavin Barraclough <barraclough@apple.com> |
+ |
+ Reviewed by Sam Weinig. |
+ |
+ https://bugs.webkit.org/show_bug.cgi?id=62240 |
+ DFG JIT - add support for for-loop array initialization. |
+ |
+ Support put by val beyond vector length. |
+ Add a operationPutByValBeyondArrayBounds operation, make |
+ PutValVal call this if the vector length check fails. |
+ |
+ * dfg/DFGJITCodeGenerator.h: |
+ (JSC::DFG::JITCodeGenerator::silentSpillGPR): |
+ (JSC::DFG::JITCodeGenerator::silentFillGPR): |
+ (JSC::DFG::JITCodeGenerator::silentSpillAllRegisters): |
+ (JSC::DFG::JITCodeGenerator::isDoubleConstantWithInt32Value): |
+ (JSC::DFG::JITCodeGenerator::isJSConstantWithInt32Value): |
+ (JSC::DFG::JITCodeGenerator::isIntegerConstant): |
+ (JSC::DFG::JITCodeGenerator::valueOfIntegerConstant): |
+ * dfg/DFGOperations.cpp: |
+ (JSC::DFG::operationPutByValInternal): |
+ * dfg/DFGOperations.h: |
+ * dfg/DFGSpeculativeJIT.cpp: |
+ (JSC::DFG::SpeculativeJIT::compile): |
+ * dfg/DFGSpeculativeJIT.h: |
+ |
+2011-06-06 James Simonsen <simonjam@chromium.org> |
+ |
+ Reviewed by James Robinson. |
+ |
+ Add monotonicallyIncreasingTime() to get monotonically increasing time |
+ https://bugs.webkit.org/show_bug.cgi?id=37743 |
+ |
+ * wtf/CurrentTime.cpp: Add monotonicallyIncreasingTime() for mac and a fallback implementation that just wraps currentTime(). |
+ (WTF::monotonicallyIncreasingTime): |
+ * wtf/CurrentTime.h: Add monotonicallyIncreasingTime(). |
+ |
+2011-06-06 Alexandru Chiculita <achicu@adobe.com> |
+ |
+ Reviewed by Kent Tamura. |
+ |
+ Add ENABLE_CSS_EXCLUSIONS support for build-webkit script |
+ https://bugs.webkit.org/show_bug.cgi?id=61628 |
+ |
+ * Configurations/FeatureDefines.xcconfig: |
+ |
+2011-06-06 Mihnea Ovidenie <mihnea@adobe.com> |
+ |
+ Reviewed by Kent Tamura. |
+ |
+ Add ENABLE(CSS_REGIONS) guard for CSS Regions support |
+ https://bugs.webkit.org/show_bug.cgi?id=61631 |
+ |
+ * Configurations/FeatureDefines.xcconfig: |
+ |
+2011-06-06 Carlos Garcia Campos <cgarcia@igalia.com> |
+ |
+ Unreviewed. Fix the GTK+ build. |
+ |
+ * GNUmakefile.am: Add javascriptcore_cflags variable. |
+ |
+2011-06-04 Kevin Ollivier <kevino@theolliviers.com> |
+ |
+ [wx] Unreviewed build fix. Restore the PPC build and allow users to specify architectures |
+ to build on Mac. |
+ |
+ * wtf/Platform.h: |
+ |
+2011-06-04 Gustavo Noronha Silva <gns@gnome.org> |
+ |
+ Unreviewed, MIPS build fix. |
+ |
+ WebKitGTK+ tarball fails to build on MIPS. |
+ https://buildd.debian.org/status/fetch.php?pkg=webkitgtk%2B&arch=mips&ver=1.4.0-1&stamp=1304786691 |
+ |
+ * GNUmakefile.list.am: Add missing MIPS-related file to the list |
+ of files that are added to the tarball on make dist, and fix |
+ sorting. |
+ |
+2011-06-04 Sam Weinig <sam@webkit.org> |
+ |
+ Reviewed by Darin Adler. |
+ |
+ Fix formatting of the output generated by KeywordLookupGenerator.py |
+ https://bugs.webkit.org/show_bug.cgi?id=62083 |
+ |
+ - Uses correct year for copyright. |
+ - Puts ending brace on same line as "else if" |
+ - Puts starting brace of function on its own line. |
+ - Adds some tasteful whitespace. |
+ - Adds comments to make clear that scopes are ending |
+ - Make macros actually split on two lines. |
+ |
+ * KeywordLookupGenerator.py: |
+ |
+2011-06-04 Adam Barth <abarth@webkit.org> |
+ |
+ Reviewed by Eric Seidel. |
+ |
+ KeywordLookupGenerator.py spams stdout in Chromium Linux build |
+ https://bugs.webkit.org/show_bug.cgi?id=62087 |
+ |
+ This action does not appear to be needed. |
+ |
+ * JavaScriptCore.gyp/JavaScriptCore.gyp: |
+ |
+2011-06-03 Oliver Hunt <oliver@apple.com> |
+ |
+ Reviewed by Maciej Stachowiak. |
+ |
+ Lexer needs to provide Identifier for reserved words |
+ https://bugs.webkit.org/show_bug.cgi?id=62086 |
+ |
+ Alas it is necessary to provide an Identifier reference for keywords |
+ so that we can do the right thing when they're used in object literals. |
+ We now keep Identifiers for all reserved words in the CommonIdentifiers |
+ structure so that we can access them without a hash lookup. |
+ |
+ * KeywordLookupGenerator.py: |
+ * parser/Lexer.cpp: |
+ (JSC::Lexer::parseIdentifier): |
+ * parser/Lexer.h: |
+ * runtime/CommonIdentifiers.cpp: |
+ (JSC::CommonIdentifiers::CommonIdentifiers): |
+ * runtime/CommonIdentifiers.h: |
+ |
+2011-06-03 Gavin Barraclough <barraclough@apple.com> |
+ |
+ Reviewed by Sam Weinig. |
+ |
+ Add debug code to break on speculation failures. |
+ |
+ * dfg/DFGJITCompiler.cpp: |
+ (JSC::DFG::JITCompiler::jumpFromSpeculativeToNonSpeculative): |
+ (JSC::DFG::JITCompiler::compileFunction): |
+ * dfg/DFGNode.h: |
+ |
+2011-06-03 Gavin Barraclough <barraclough@apple.com> |
+ |
+ Reviewed by Sam Weinig. |
+ |
+ https://bugs.webkit.org/show_bug.cgi?id=62082 |
+ DFG JIT - bug passing arguments that need swap |
+ |
+ This is really just a typo. |
+ When setting up the arguments for a call out to a C operation, we'll |
+ fail to swap arguments where this is necessary. For example, in the |
+ case of 2 arg calls, where the first argument is in %rdx & the second |
+ is in %rsi we should swap (exec will be passed in %rdi), but we don't. |
+ |
+ This can also affect function calls passing three arguments. |
+ |
+ * dfg/DFGJITCodeGenerator.h: |
+ (JSC::DFG::JITCodeGenerator::setupTwoStubArgs): |
+ - Call swap with the correct arguments. |
+ |
+2011-06-03 Oliver Hunt <oliver@apple.com> |
+ |
+ Reviewed by Gavin Barraclough. |
+ |
+ Force inlining of some hot lexer functions |
+ https://bugs.webkit.org/show_bug.cgi?id=62079 |
+ |
+ Fix more GCC stupidity |
+ |
+ * parser/Lexer.h: |
+ (JSC::Lexer::isWhiteSpace): |
+ (JSC::Lexer::isLineTerminator): |
+ |
+2011-06-03 Oliver Hunt <oliver@apple.com> |
+ |
+ Reviewed by Gavin Barraclough. |
+ |
+ GCC not inlining some functions that it really should be |
+ https://bugs.webkit.org/show_bug.cgi?id=62075 |
+ |
+ Add ALWAYS_INLINE to a number of parsing and lexing functions |
+ that should always be inlined. This gets us ~1.4% on my ad hoc |
+ parser test. |
+ |
+ * KeywordLookupGenerator.py: |
+ * parser/JSParser.cpp: |
+ (JSC::JSParser::next): |
+ (JSC::JSParser::nextTokenIsColon): |
+ (JSC::JSParser::consume): |
+ (JSC::JSParser::match): |
+ (JSC::JSParser::tokenStart): |
+ (JSC::JSParser::tokenLine): |
+ (JSC::JSParser::tokenEnd): |
+ * parser/Lexer.cpp: |
+ (JSC::isIdentPart): |
+ |
+2011-06-03 Oliver Hunt <oliver@apple.com> |
+ |
+ Whoops, fix last minute bug. |
+ |
+ * parser/Lexer.cpp: |
+ (JSC::Lexer::parseIdentifier): |
+ |
+2011-06-03 Martin Robinson <mrobinson@igalia.com> |
+ |
+ Try to fix the GTK+ build. |
+ |
+ * GNUmakefile.am: Clean up some spaces that should be tabs. |
+ * GNUmakefile.list.am: Add KeywordLookup.h to the source list |
+ and clean up some spaces that should be tabs. |
+ |
+2011-06-03 Oliver Hunt <oliver@apple.com> |
+ |
+ Reviewed by Geoffrey Garen. |
+ |
+ Improve keyword lookup |
+ https://bugs.webkit.org/show_bug.cgi?id=61913 |
+ |
+ Rather than doing multiple hash lookups as we currently |
+ do when trying to identify keywords we now use an |
+ automatically generated decision tree (essentially it's |
+ a hard coded patricia trie). We still use the regular |
+ lookup table for the last few characters of an input as |
+ this allows us to completely skip all bounds checks. |
+ |
+ * CMakeLists.txt: |
+ * DerivedSources.make: |
+ * DerivedSources.pro: |
+ * GNUmakefile.am: |
+ * JavaScriptCore.gyp/JavaScriptCore.gyp: |
+ * JavaScriptCore.xcodeproj/project.pbxproj: |
+ * KeywordLookupGenerator.py: Added. |
+ * make-generated-sources.sh: |
+ * parser/Lexer.cpp: |
+ (JSC::Lexer::internalShift): |
+ (JSC::Lexer::shift): |
+ (JSC::Lexer::parseIdentifier): |
+ * parser/Lexer.h: |
+ |
+2011-06-03 Siddharth Mathur <siddharth.mathur@nokia.com> |
+ |
+ Reviewed by Benjamin Poulain. |
+ |
+ [Qt] Build flag for experimental ICU library support |
+ https://bugs.webkit.org/show_bug.cgi?id=60786 |
+ |
+ Adds a build-time flag (CONFIG+=use_system_icu) that enables experimental |
+ ICU powered Unicode support. |
+ |
+ * JavaScriptCore.pri: Support for use_system_icu CONFIG flag. |
+ * wtf/unicode/qt4/UnicodeQt4.h: Guard an include file with USE(ICU_UNICODE). |
+ |
+2011-06-03 Alexis Menard <alexis.menard@openbossa.org> |
+ |
+ Reviewed by Benjamin Poulain. |
+ |
+ [Qt] Build fix of QtWebKit 2.2 when inside Qt tree with GCC 4.6. |
+ https://bugs.webkit.org/show_bug.cgi?id=61957 |
+ |
+ When building inside the Qt source tree, qmake always append the mkspecs |
+ defines after ours. We have to workaround and make sure that we append |
+ our flags after the qmake variable used inside Qt. This workaround was provided |
+ by our qmake folks. We need to append in both case because qmake behave differently |
+ when called with -spec or via SUBDIR+=. This patch unbreak r87950 on Mac for Qt port. |
+ |
+ * JavaScriptCore.pro: |
+ |
+2011-06-02 Jay Civelli <jcivelli@chromium.org> |
+ |
+ Reviewed by Adam Barth. |
+ |
+ Added a method to generate RFC 2822 compliant date strings. |
+ https://bugs.webkit.org/show_bug.cgi?id=7169 |
+ |
+ * wtf/DateMath.cpp: |
+ (WTF::twoDigitStringFromNumber): |
+ (WTF::makeRFC2822DateString): |
+ * wtf/DateMath.h: |
+ |
+2011-06-02 Alexis Menard <alexis.menard@openbossa.org> |
+ |
+ Reviewed by Andreas Kling. |
+ |
+ [Qt] Build fix of QtWebKit 2.2 when inside Qt tree with GCC 4.6. |
+ https://bugs.webkit.org/show_bug.cgi?id=61957 |
+ |
+ When building inside the Qt source tree, qmake always append the mkspecs |
+ defines after ours. We have to workaround and make sure that we append |
+ our flags after the qmake variable used inside Qt. This workaround was provided |
+ by our qmake folks. |
+ |
+ * JavaScriptCore.pro: |
+ |
+2011-06-01 Oliver Hunt <oliver@apple.com> |
+ |
+ Reviewed by Geoffrey Garen. |
+ |
+ Add single character lookup cache to IdentifierArena |
+ https://bugs.webkit.org/show_bug.cgi?id=61879 |
+ |
+ Add a simple lookup cache for single ascii character |
+ identifiers. Produces around a 2% improvement in parse |
+ time for my adhoc parser test. |
+ |
+ * parser/ParserArena.h: |
+ (JSC::IdentifierArena::IdentifierArena): |
+ (JSC::IdentifierArena::clear): |
+ (JSC::IdentifierArena::makeIdentifier): |
+ |
+2011-05-31 Oliver Hunt <oliver@apple.com> |
+ |
+ Reviewed by Geoffrey Garen. |
+ |
+ Freezing a function and its prototype causes browser to crash. |
+ https://bugs.webkit.org/show_bug.cgi?id=61758 |
+ |
+ Make JSObject::preventExtensions virtual so that we can override it |
+ and instantiate all lazy |
+ |
+ * JavaScriptCore.exp: |
+ * runtime/JSFunction.cpp: |
+ (JSC::createPrototypeProperty): |
+ (JSC::JSFunction::preventExtensions): |
+ (JSC::JSFunction::getOwnPropertySlot): |
+ * runtime/JSFunction.h: |
+ * runtime/JSObject.h: |
+ * runtime/JSObject.cpp: |
+ (JSC::JSObject::seal): |
+ (JSC::JSObject::seal): |
+ |
+2011-06-01 Sheriff Bot <webkit.review.bot@gmail.com> |
+ |
+ Unreviewed, rolling out r87788. |
+ http://trac.webkit.org/changeset/87788 |
+ https://bugs.webkit.org/show_bug.cgi?id=61856 |
+ |
+ breaks windows chromium canary (Requested by jknotten on |
+ #webkit). |
+ |
+ * wtf/DateMath.cpp: |
+ (WTF::timeClip): |
+ * wtf/DateMath.h: |
+ |
+2011-06-01 Jay Civelli <jcivelli@chromium.org> |
+ |
+ Reviewed by Adam Barth. |
+ |
+ Added a method to generate RFC 2822 compliant date strings. |
+ https://bugs.webkit.org/show_bug.cgi?id=7169 |
+ |
+ * wtf/DateMath.cpp: |
+ (WTF::twoDigitStringFromNumber): |
+ (WTF::makeRFC2822DateString): |
+ * wtf/DateMath.h: |
+ |
2011-05-31 Yong Li <yoli@rim.com> |
Reviewed by Eric Seidel. |