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)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla34

People

(Reporter: ehsan.akhgari, Assigned: ehsan.akhgari)

References

Details

Attachments

(1 file)

No description provided.
Assignee: nobody → ehsan
Blocks: explicit
Attachment #8463129 - Flags: review?(jorendorff)
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+
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.

Attachment

General

Created:
Updated:
Size: