WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED INVALID
74767
Remove unused variable after
r103120
(buildfix)
https://bugs.webkit.org/show_bug.cgi?id=74767
Summary
Remove unused variable after r103120 (buildfix)
Rafael Brandao
Reported
2011-12-16 16:22:13 PST
The compiler was complaining about "valueGPR" being set but not used. That patch used that value on its asserts, but right now as it is not used anymore, we're most likely safe to remove it.
Attachments
Patch
(3.95 KB, patch)
2011-12-16 16:25 PST
,
Rafael Brandao
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Rafael Brandao
Comment 1
2011-12-16 16:25:57 PST
Created
attachment 119697
[details]
Patch
WebKit Review Bot
Comment 2
2011-12-16 19:46:33 PST
Comment on
attachment 119697
[details]
Patch Clearing flags on attachment: 119697 Committed
r103139
: <
http://trac.webkit.org/changeset/103139
>
WebKit Review Bot
Comment 3
2011-12-16 19:46:37 PST
All reviewed patches have been landed. Closing bug.
Ryosuke Niwa
Comment 4
2011-12-16 20:18:12 PST
This patch massively broke builds :(
Ryosuke Niwa
Comment 5
2011-12-16 20:40:45 PST
/Volumes/Data/slave/snowleopard-intel-release/build/Source/JavaScriptCore/dfg/DFGSpeculativeJIT.cpp:1597:5: error: use of undeclared identifier 'valueGPR' [3] ASSERT_UNUSED(valueGPR, valueGPR != property); ^ /Volumes/Data/slave/snowleopard-intel-release/build/Source/JavaScriptCore/wtf/Assertions.h:233:51: note: instantiated from: #define ASSERT_UNUSED(variable, assertion) ((void)variable) ^ /Volumes/Data/slave/snowleopard-intel-release/build/Source/JavaScriptCore/dfg/DFGSpeculativeJIT.cpp:1597:19: note: instantiated from: ASSERT_UNUSED(valueGPR, valueGPR != property); ^ /Volumes/Data/slave/snowleopard-intel-release/build/Source/JavaScriptCore/dfg/DFGSpeculativeJIT.cpp:1745:5: error: use of undeclared identifier 'valueGPR' [3] ASSERT_UNUSED(valueGPR, valueGPR != property); ^ /Volumes/Data/slave/snowleopard-intel-release/build/Source/JavaScriptCore/wtf/Assertions.h:233:51: note: instantiated from: #define ASSERT_UNUSED(variable, assertion) ((void)variable) ^ /Volumes/Data/slave/snowleopard-intel-release/build/Source/JavaScriptCore/dfg/DFGSpeculativeJIT.cpp:1745:19: note: instantiated from: ASSERT_UNUSED(valueGPR, valueGPR != property); ^ 2 errors generated.
Mark Rowe (bdash)
Comment 6
2011-12-16 20:50:16 PST
I rolled it out in
r103142
since it’s so obviously incorrect.
Mark Rowe (bdash)
Comment 7
2011-12-16 20:57:17 PST
It’d be useful to mention which build you’re trying to fix with this change. The build certainly hasn’t been broken since
r74747
for any of the major ports we deal with.
Rafael Brandao
Comment 8
2011-12-16 21:05:33 PST
(In reply to
comment #7
)
> It’d be useful to mention which build you’re trying to fix with this change. The build certainly hasn’t been broken since
r74747
for any of the major ports we deal with.
The patch was fixing the build warning that came with
https://bugs.webkit.org/show_bug.cgi?id=74747
. It was actually
r103120
, I've wrongly used the bug id instead in the title. But when it landed, the code that it was fixing was reverted right before, so the fix lost its sense.
Mark Rowe (bdash)
Comment 9
2011-12-16 21:07:59 PST
Ok. Closing as invalid then since there’s nothing to do here.
Darin Adler
Comment 10
2011-12-16 22:32:52 PST
The value is used in ASSERT_UNUSED. How did I miss that?
Csaba Osztrogonác
Comment 11
2011-12-17 04:31:07 PST
(In reply to
comment #8
)
> (In reply to
comment #7
) > > It’d be useful to mention which build you’re trying to fix with this change. The build certainly hasn’t been broken since
r74747
for any of the major ports we deal with. > > The patch was fixing the build warning that came with
https://bugs.webkit.org/show_bug.cgi?id=74747
. It was actually
r103120
, I've wrongly used the bug id instead in the title. But when it landed, the code that it was fixing was reverted right before, so the fix lost its sense.
Next time it would be better if you add a comment to the original bug and/or add the original bug to the blocks list of the buildfix bug. (sheriffbot does same thing with rollout bug reports)
Rafael Brandao
Comment 12
2011-12-17 08:37:17 PST
(In reply to
comment #11
)
> (In reply to
comment #8
) > > (In reply to
comment #7
) > > > It’d be useful to mention which build you’re trying to fix with this change. The build certainly hasn’t been broken since
r74747
for any of the major ports we deal with. > > > > The patch was fixing the build warning that came with
https://bugs.webkit.org/show_bug.cgi?id=74747
. It was actually
r103120
, I've wrongly used the bug id instead in the title. But when it landed, the code that it was fixing was reverted right before, so the fix lost its sense. > > Next time it would be better if you add a comment to the original bug and/or add the original bug to the blocks list of the buildfix bug. (sheriffbot does same thing with rollout bug reports)
Ok, I'll do that. And sorry about the trouble with this one.
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