RESOLVED FIXED 121750
Add ExecState::uncheckedArgument and use where possible to shrink a bit
https://bugs.webkit.org/show_bug.cgi?id=121750
Summary Add ExecState::uncheckedArgument and use where possible to shrink a bit
Darin Adler
Reported 2013-09-21 12:34:13 PDT
Add ExecState::uncheckedArgument and used it where possible to shrink code a bit
Attachments
Patch (81.29 KB, patch)
2013-09-21 12:56 PDT, Darin Adler
kling: review+
buildbot: commit-queue-
Archive of layout-test-results from webkit-ews-13 for mac-mountainlion-wk2 (563.00 KB, application/zip)
2013-09-21 13:53 PDT, Build Bot
no flags
Archive of layout-test-results from webkit-ews-03 for mac-mountainlion (580.60 KB, application/zip)
2013-09-21 14:23 PDT, Build Bot
no flags
Archive of layout-test-results from webkit-ews-04 for mac-mountainlion (581.52 KB, application/zip)
2013-09-21 15:20 PDT, Build Bot
no flags
Darin Adler
Comment 1 2013-09-21 12:56:41 PDT
Andreas Kling
Comment 2 2013-09-21 13:01:52 PDT
Comment on attachment 212280 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=212280&action=review r=me buuuuut.. > Source/JavaScriptCore/interpreter/CallFrame.h:246 > + JSValue uncheckedArgument(size_t argument) We should merge this with getArgumentUnsafe(). > Source/WebCore/bridge/objc/objc_instance.mm:269 > - for (unsigned i = 2; i < count ; i++) { > + for (unsigned i = 2; i < count; i++) { No switching to prefix increment style?
Build Bot
Comment 3 2013-09-21 13:53:15 PDT
Comment on attachment 212280 [details] Patch Attachment 212280 [details] did not pass mac-wk2-ews (mac-wk2): Output: http://webkit-queues.appspot.com/results/1907348 New failing tests: fast/canvas/webgl/uniform-location.html webgl/conformance/uniforms/null-uniform-location.html webgl/conformance/misc/bad-arguments-test.html webgl/conformance/uniforms/uniform-location.html webgl/conformance/glsl/misc/shader-with-array-of-structs-uniform.html webgl/conformance/misc/null-object-behaviour.html fast/canvas/webgl/null-uniform-location.html webgl/conformance/state/gl-object-get-calls.html fast/canvas/webgl/context-lost.html fast/canvas/webgl/null-object-behaviour.html fast/canvas/webgl/gl-object-get-calls.html fast/canvas/webgl/bad-arguments-test.html
Build Bot
Comment 4 2013-09-21 13:53:17 PDT
Created attachment 212284 [details] Archive of layout-test-results from webkit-ews-13 for mac-mountainlion-wk2 The attached test failures were seen while running run-webkit-tests on the mac-wk2-ews. Bot: webkit-ews-13 Port: mac-mountainlion-wk2 Platform: Mac OS X 10.8.5
Build Bot
Comment 5 2013-09-21 14:23:36 PDT
Comment on attachment 212280 [details] Patch Attachment 212280 [details] did not pass mac-ews (mac): Output: http://webkit-queues.appspot.com/results/2053059 New failing tests: fast/canvas/webgl/uniform-location.html webgl/conformance/uniforms/null-uniform-location.html webgl/conformance/misc/bad-arguments-test.html webgl/conformance/uniforms/uniform-location.html webgl/conformance/glsl/misc/shader-with-array-of-structs-uniform.html webgl/conformance/misc/null-object-behaviour.html fast/canvas/webgl/null-uniform-location.html webgl/conformance/state/gl-object-get-calls.html fast/canvas/webgl/context-lost.html fast/canvas/webgl/null-object-behaviour.html fast/canvas/webgl/gl-object-get-calls.html fast/canvas/webgl/bad-arguments-test.html
Build Bot
Comment 6 2013-09-21 14:23:38 PDT
Created attachment 212285 [details] Archive of layout-test-results from webkit-ews-03 for mac-mountainlion The attached test failures were seen while running run-webkit-tests on the mac-ews. Bot: webkit-ews-03 Port: mac-mountainlion Platform: Mac OS X 10.8.5
Build Bot
Comment 7 2013-09-21 15:20:40 PDT
Comment on attachment 212280 [details] Patch Attachment 212280 [details] did not pass mac-ews (mac): Output: http://webkit-queues.appspot.com/results/2033109 New failing tests: fast/canvas/webgl/uniform-location.html webgl/conformance/uniforms/null-uniform-location.html webgl/conformance/misc/bad-arguments-test.html webgl/conformance/uniforms/uniform-location.html webgl/conformance/glsl/misc/shader-with-array-of-structs-uniform.html webgl/conformance/misc/null-object-behaviour.html fast/canvas/webgl/null-uniform-location.html webgl/conformance/state/gl-object-get-calls.html fast/canvas/webgl/context-lost.html fast/canvas/webgl/null-object-behaviour.html fast/canvas/webgl/gl-object-get-calls.html fast/canvas/webgl/bad-arguments-test.html
Build Bot
Comment 8 2013-09-21 15:20:42 PDT
Created attachment 212287 [details] Archive of layout-test-results from webkit-ews-04 for mac-mountainlion The attached test failures were seen while running run-webkit-tests on the mac-ews. Bot: webkit-ews-04 Port: mac-mountainlion Platform: Mac OS X 10.8.5
Darin Adler
Comment 9 2013-09-21 21:01:48 PDT
Alexey Proskuryakov
Comment 10 2013-09-21 23:15:41 PDT
WebKit Commit Bot
Comment 11 2013-09-21 23:17:49 PDT
Re-opened since this is blocked by bug 121758
Darin Adler
Comment 12 2013-09-21 23:32:04 PDT
https://bugs.webkit.org/show_bug.cgi?id=121759 has the fixes for the WebGL failures
Alexey Proskuryakov
Comment 13 2013-09-22 00:06:47 PDT
There is also a failure in accessibility/accessibility-node-memory-management.html test. This is because the patch changes what's left on the stack in debug builds. Darin is going to add a setTimeout() before garbage collection to fix the test.
Note You need to log in before you can comment on or make changes to this bug.