REOPENED 112233
JSObject fast by-string access optimizations should work even on the prototype chain, and even when the result is undefined
https://bugs.webkit.org/show_bug.cgi?id=112233
Summary JSObject fast by-string access optimizations should work even on the prototyp...
Filip Pizlo
Reported 2013-03-13 01:20:45 PDT
Patch forthcoming.
Attachments
work in progress (25.58 KB, patch)
2013-03-13 01:21 PDT, Filip Pizlo
no flags
the patch (32.81 KB, patch)
2013-03-13 01:52 PDT, Filip Pizlo
no flags
the patch (32.80 KB, patch)
2013-03-13 02:21 PDT, Filip Pizlo
oliver: review+
Filip Pizlo
Comment 1 2013-03-13 01:21:09 PDT
Created attachment 192878 [details] work in progress
Filip Pizlo
Comment 2 2013-03-13 01:52:20 PDT
Created attachment 192883 [details] the patch
WebKit Review Bot
Comment 3 2013-03-13 01:59:18 PDT
Attachment 192883 [details] did not pass style-queue: Failed to run "['Tools/Scripts/check-webkit-style', '--diff-files', u'LayoutTests/ChangeLog', u'LayoutTests/fast/js/regress/miss-string-lookup-expected.txt', u'LayoutTests/fast/js/regress/miss-string-lookup.html', u'LayoutTests/fast/js/regress/script-tests/miss-string-lookup.js', u'Source/JavaScriptCore/CMakeLists.txt', u'Source/JavaScriptCore/ChangeLog', u'Source/JavaScriptCore/DerivedSources.make', u'Source/JavaScriptCore/DerivedSources.pri', u'Source/JavaScriptCore/GNUmakefile.list.am', u'Source/JavaScriptCore/dfg/DFGOperations.cpp', u'Source/JavaScriptCore/interpreter/CallFrame.h', u'Source/JavaScriptCore/jit/JITStubs.cpp', u'Source/JavaScriptCore/llint/LLIntSlowPaths.cpp', u'Source/JavaScriptCore/runtime/CommonIdentifiers.h', u'Source/JavaScriptCore/runtime/JSCell.cpp', u'Source/JavaScriptCore/runtime/JSCell.h', u'Source/JavaScriptCore/runtime/JSCellInlines.h', u'Source/JavaScriptCore/runtime/JSGlobalData.cpp', u'Source/JavaScriptCore/runtime/JSGlobalData.h', u'Source/JavaScriptCore/runtime/JSObject.cpp', u'Source/JavaScriptCore/runtime/JSObject.h', u'Source/JavaScriptCore/runtime/Lookup.cpp', u'Source/JavaScriptCore/runtime/ObjectPrototype.cpp', u'Source/JavaScriptCore/runtime/ObjectPrototype.h', u'Source/JavaScriptCore/runtime/PropertyMapHashTable.h', u'Source/JavaScriptCore/runtime/Structure.h', u'Source/JavaScriptCore/runtime/StructureInlines.h']" exit_code: 1 Source/JavaScriptCore/dfg/DFGOperations.cpp:427: An else if statement should be written as an if statement when the prior "if" concludes with a return, break, continue or goto statement. [readability/control_flow] [4] Source/JavaScriptCore/runtime/JSCell.h:167: The parameter name "key" adds no information, so it should be removed. [readability/parameter_name] [5] Total errors found: 2 in 20 files If any of these errors are false positives, please file a bug against check-webkit-style.
Filip Pizlo
Comment 4 2013-03-13 02:21:33 PDT
Created attachment 192886 [details] the patch Fixed style.
Filip Pizlo
Comment 5 2013-03-14 12:46:05 PDT
Mark Hahnenberg
Comment 6 2013-03-15 12:58:23 PDT
Reopening because we're going to roll out the landed patch.
Note You need to log in before you can comment on or make changes to this bug.