Fix -Wshadow-field-in-constructor-modified warning in js/src/vm/SavedStacks.cpp
Categories
(Core :: JavaScript Engine, defect, P3)
Tracking
()
People
(Reporter: cpeterson, Assigned: cpeterson)
References
(Regression)
Details
(Keywords: regression)
Attachments
(1 file)
Bug 1247299 added a column
member variable reduce differential testing false positives, but the SavedFrame::Lookup
constructor inadvertently sets the constructor's column
parameter = 0, not the column
member variable.
js/src/vm/SavedStacks.cpp:198:14 [-Wshadow-field-in-constructor-modified] modifying constructor parameter 'column' that shadows a field of 'js::SavedFrame::Lookup'
Assignee | ||
Comment 1•3 years ago
|
||
Bug 1247299 added a column
member variable reduce differential testing false positives, but the SavedFrame::Lookup constructor inadvertently sets the constructor's column
parameter = 0, not the column
member variable.
js/src/vm/SavedStacks.cpp:198:14 [-Wshadow-field-in-constructor-modified] modifying constructor parameter 'column' that shadows a field of 'js::SavedFrame::Lookup'
Updated•3 years ago
|
Pushed by sfink@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/f398c3d4e213 Fix -Wshadow-field-in-constructor-modified warning in js/src/vm/SavedStacks.cpp. r=sfink
Comment 3•3 years ago
|
||
bugherder |
Updated•3 years ago
|
Description
•