Closed Bug 573604 Opened 15 years ago Closed 15 years ago

tracing+fatvals: Add AccSet parameter to box_value

Categories

(Core :: JavaScript Engine, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: dmandelin, Unassigned)

References

Details

Per Nick, the AccSet argument should be explicit so that callers can provide the right one.
I misread some code and thought this might actually be a bug, but I was confusing the v_ins and dstaddr_ins arguments of box_value. Anyhow, I did make the change, even though, as I see it, all callers currently pass ACC_OTHER. http://hg.mozilla.org/users/lwagner_mozilla.com/fatval/rev/7cb07ed9a5bc
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
(In reply to comment #1) > Anyhow, I did make > the change, even though, as I see it, all callers currently pass ACC_OTHER. Yes, that's right; this change is just about making new bugs harder to create in the future.
I just noticed that box_value() is overloaded. The second version should also have an AccSet.
(In reply to comment #3) > I just noticed that box_value() is overloaded. The second version should also > have an AccSet. That's subsumed by bug 584279.
You need to log in before you can comment on or make changes to this bug.