Closed
Bug 661722
Opened 13 years ago
Closed 13 years ago
'outer' parameter to MethodEnv::newfunction is redundant
Categories
(Tamarin Graveyard :: Virtual Machine, defect)
Tamarin Graveyard
Virtual Machine
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: edwsmith, Assigned: stejohns)
References
Details
Attachments
(3 files)
3.66 KB,
patch
|
stejohns
:
review+
|
Details | Diff | Splinter Review |
4.13 KB,
patch
|
Details | Diff | Splinter Review | |
863 bytes,
patch
|
edwsmith
:
review+
|
Details | Diff | Splinter Review |
There's only two call sites, JIT and Interpreter, and both pass the value of env->scope(), so its better to just load it inside newfunction().
Reporter | ||
Comment 1•13 years ago
|
||
Assignee: nobody → edwsmith
Attachment #537031 -
Flags: review?(stejohns)
Assignee | ||
Comment 2•13 years ago
|
||
Comment on attachment 537031 [details] [diff] [review] Removes 'outer' parameter from MethodEnv::newfunction Review of attachment 537031 [details] [diff] [review]: ----------------------------------------------------------------- make it so
Attachment #537031 -
Flags: review?(stejohns) → review+
Reporter | ||
Comment 3•13 years ago
|
||
This updated patch also fixes a logic error in AvmCore::formatOpcode. i'll carry forward the R+ unless you holler.
Comment 4•13 years ago
|
||
changeset: 6371:f35b3f3cc133 user: Edwin Smith <edwsmith> summary: Bug 661722 - 'outer' parameter to MethodEnv::newfunction is redundant (r=stejohns+) http://hg.mozilla.org/tamarin-redux/rev/f35b3f3cc133
Reporter | ||
Updated•13 years ago
|
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Comment 5•13 years ago
|
||
caused difference when running brightspot -Dverbose=verify against an older vm. The diff is from newfunction having one fewer parameter e.g. - 28:newfunction invalid method_id=1566 <anonymous> + 28:newfunction method_id=1566 <anonymous> From looking at the change the difference seems expected. Let me know if it something to be concerned about.
Assignee | ||
Comment 6•13 years ago
|
||
AOT uses this call to, have to patch its usage...
Assignee: edwsmith → stejohns
Status: RESOLVED → REOPENED
Attachment #537586 -
Flags: review?(edwsmith)
Resolution: FIXED → ---
Assignee | ||
Comment 7•13 years ago
|
||
Comment on attachment 537586 [details] [diff] [review] AOT-specific fix, too redirecting to Rick since Edwin is on vacation
Attachment #537586 -
Flags: review?(edwsmith) → review?(rreitmai)
Assignee | ||
Comment 8•13 years ago
|
||
Comment on attachment 537586 [details] [diff] [review] AOT-specific fix, too pushed (pending review) as 6379:b6046c322d35
Assignee | ||
Updated•13 years ago
|
Status: REOPENED → RESOLVED
Closed: 13 years ago → 13 years ago
Resolution: --- → FIXED
Reporter | ||
Comment 9•13 years ago
|
||
Comment on attachment 537586 [details] [diff] [review] AOT-specific fix, too I would have done this had the build system complained. change looks fine.
Attachment #537586 -
Flags: review?(rreitmai) → review+
Reporter | ||
Comment 10•13 years ago
|
||
(In reply to comment #5) > caused difference when running brightspot -Dverbose=verify against an older > vm. The diff is from newfunction having one fewer parameter e.g. > - 28:newfunction invalid method_id=1566 <anonymous> > + 28:newfunction method_id=1566 <anonymous> > > From looking at the change the difference seems expected. Let me know if it > something to be concerned about. Expected change, no problem.
You need to log in
before you can comment on or make changes to this bug.
Description
•