Closed
Bug 1044596
Opened 10 years ago
Closed 10 years ago
Fix more bad implicit conversion constructors in the JS engine
Categories
(Core :: JavaScript Engine, defect)
Core
JavaScript Engine
Tracking
()
RESOLVED
FIXED
mozilla34
People
(Reporter: ehsan.akhgari, Assigned: ehsan.akhgari)
References
Details
Attachments
(1 file)
(deleted),
patch
|
jorendorff
:
review+
|
Details | Diff | Splinter Review |
No description provided.
Assignee | ||
Comment 1•10 years ago
|
||
Assignee | ||
Updated•10 years ago
|
Attachment #8463129 -
Flags: review?(jorendorff)
Comment 2•10 years ago
|
||
Comment on attachment 8463129 [details] [diff] [review]
Fix more bad implicit conversion constructors in the JS engine
Review of attachment 8463129 [details] [diff] [review]:
-----------------------------------------------------------------
Great, thanks again. r=me with the change listed below.
::: js/src/vm/SavedStacks.cpp
@@ +73,5 @@
>
> class SavedFrame::HandleLookup
> {
> public:
> + explicit HandleLookup(SavedFrame::AutoLookupRooter &lookup) : ref(lookup) { }
This is another handle class --- please do not make this particular conversion explicit.
@@ +548,5 @@
> stackState[i-1].location.column,
> stackState[i-1].name,
> parentFrame,
> stackState[i-1].principals);
> + parentFrame.set(getOrCreateSavedFrame(cx, SavedFrame::HandleLookup(lookup)));
...and please undo the corresponding change here.
Attachment #8463129 -
Flags: review?(jorendorff) → review+
Assignee | ||
Comment 3•10 years ago
|
||
Comment 4•10 years ago
|
||
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla34
You need to log in
before you can comment on or make changes to this bug.
Description
•