WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
111625
[V8] Preprocess constant values to avoid a "static_cast<signed int>" in CodeGeneratorV8.
https://bugs.webkit.org/show_bug.cgi?id=111625
Summary
[V8] Preprocess constant values to avoid a "static_cast<signed int>" in CodeG...
Mike West
Reported
2013-03-06 14:17:29 PST
When generating code for constants in IDL files, we're currently pushing the values through "static_cast<signed int>" in order to ensure that values like "0xFFFFFFFF" are properly handled as "-1". There's no reason to do this work in C when Perl is perfectly capable of manipulating text. The FIXME at
http://trac.webkit.org/browser/trunk/Source/WebCore/bindings/scripts/CodeGeneratorV8.pm?rev=144976#L2933
has been around since 2009. Now's as good a time as any to take care of it.
Attachments
Patch
(3.07 KB, patch)
2013-03-06 14:30 PST
,
Mike West
no flags
Details
Formatted Diff
Diff
Patch
(3.07 KB, patch)
2013-03-06 15:34 PST
,
Mike West
no flags
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Mike West
Comment 1
2013-03-06 14:30:07 PST
Created
attachment 191832
[details]
Patch
Mike West
Comment 2
2013-03-06 14:31:44 PST
Starting to dabble in bindings. Jochen, Dan, mind taking a look?
WebKit Review Bot
Comment 3
2013-03-06 15:02:39 PST
Comment on
attachment 191832
[details]
Patch
Attachment 191832
[details]
did not pass chromium-ews (chromium-xvfb): Output:
http://webkit-commit-queue.appspot.com/results/17027132
New failing tests: fast/canvas/webgl/css-webkit-canvas-repaint.html fast/canvas/webgl/error-reporting.html fast/canvas/webgl/gl-getstring.html fast/canvas/webgl/copy-tex-image-and-sub-image-2d.html fast/canvas/webgl/drawingbuffer-test.html fast/canvas/webgl/gl-pixelstorei.html fast/canvas/webgl/constants.html http/tests/cache/subresource-failover-to-network.html fast/canvas/webgl/functions-returning-strings.html fast/canvas/webgl/context-attributes-alpha-depth-stencil-antialias.html fast/canvas/webgl/buffer-data-array-buffer.html fast/canvas/webgl/gl-enable-enum-test.html fast/canvas/webgl/get-active-test.html fast/canvas/webgl/context-lost-restored.html fast/canvas/webgl/context-release-upon-reload.html fast/canvas/webgl/buffer-bind-test.html fast/canvas/webgl/gl-get-calls.html fast/canvas/webgl/draw-arrays-out-of-bounds.html fast/canvas/webgl/gl-bind-attrib-location-test.html fast/canvas/webgl/framebuffer-test.html fast/canvas/webgl/canvas-zero-size.html fast/canvas/webgl/context-lost.html fast/canvas/webgl/attrib-location-length-limits.html fast/canvas/webgl/bad-arguments-test.html compositing/webgl/webgl-reflection.html fast/canvas/webgl/gl-enum-tests.html fast/canvas/webgl/draw-elements-out-of-bounds.html fast/canvas/webgl/canvas-2d-webgl-texture.html fast/canvas/webgl/css-webkit-canvas.html fast/canvas/webgl/gl-getshadersource.html
Mike West
Comment 4
2013-03-06 15:34:38 PST
Created
attachment 191852
[details]
Patch
Kentaro Hara
Comment 5
2013-03-06 17:56:01 PST
Comment on
attachment 191852
[details]
Patch ok
Mike West
Comment 6
2013-03-06 23:18:27 PST
Comment on
attachment 191852
[details]
Patch Thanks.
WebKit Review Bot
Comment 7
2013-03-06 23:51:10 PST
Comment on
attachment 191852
[details]
Patch Clearing flags on attachment: 191852 Committed
r145043
: <
http://trac.webkit.org/changeset/145043
>
WebKit Review Bot
Comment 8
2013-03-06 23:51:14 PST
All reviewed patches have been landed. Closing bug.
Csaba Osztrogonác
Comment 9
2013-03-07 03:43:32 PST
(In reply to
comment #7
)
> (From update of
attachment 191852
[details]
) > Clearing flags on attachment: 191852 > > Committed
r145043
: <
http://trac.webkit.org/changeset/145043
>
It broke the bindings generation tests. Could you fix it?
Kentaro Hara
Comment 10
2013-03-07 03:46:12 PST
(In reply to
comment #9
)
> It broke the bindings generation tests. Could you fix it?
Sorry every week... Fixed in
r145060
.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug