Closed
Bug 1284441
Opened 8 years ago
Closed 8 years ago
Remove unnecessary cast from ExpressionDecompiler::decompilePC.
Categories
(Core :: JavaScript Engine, defect)
Core
JavaScript Engine
Tracking
()
RESOLVED
FIXED
mozilla50
Tracking | Status | |
---|---|---|
firefox50 | --- | fixed |
People
(Reporter: arai, Assigned: jj, Mentored)
Details
Attachments
(1 file, 3 obsolete files)
828 bytes,
patch
|
arai
:
review+
|
Details | Diff | Splinter Review |
https://dxr.mozilla.org/mozilla-central/rev/c9a70b64f2faa264296f0cc90d68a2ee2bac6ac5/js/src/jsopcode.cpp#1216 > return decompilePCForStackOperand(pc, -int32_t(3)) && The cast there should be removed.
Comment 1•8 years ago
|
||
Hey I'll work on this bug. Can you assign this to me?
Assignee | ||
Comment 3•8 years ago
|
||
Does this help in fixing?
Flags: needinfo?(arai.unmht)
Attachment #8773516 -
Flags: review?(arai.unmht)
Reporter | ||
Comment 4•8 years ago
|
||
Comment on attachment 8773516 [details] [diff] [review] a1.diff Review of attachment 8773516 [details] [diff] [review]: ----------------------------------------------------------------- Thank you Jinank :D
Attachment #8773516 -
Flags: review?(arai.unmht) → review+
Reporter | ||
Comment 5•8 years ago
|
||
Re-assigning to Jinank. :archit, if you're looking for a bug to work on, feel free to ping me ;)
Assignee: arctgarg → jinank94
Status: NEW → ASSIGNED
Flags: needinfo?(arai.unmht)
Assignee | ||
Comment 6•8 years ago
|
||
https://treeherder.mozilla.org/#/jobs?repo=try&revision=b0f1dd47a941 https://hg.mozilla.org/try/rev/40b482c0c369
Flags: needinfo?(arai.unmht)
Reporter | ||
Comment 7•8 years ago
|
||
Sorry, I overlooked the commit message. Can you set appropriate commit message that follows the rule in this document, and re-post it? https://developer.mozilla.org/en-US/docs/Mozilla/Developer_guide/Committing_Rules_and_Responsibilities#Checkin_comment After that, set "checkin-needed" keyword to this bug, or ni? me if you cannot.
Flags: needinfo?(arai.unmht) → needinfo?(jinank94)
Assignee | ||
Comment 8•8 years ago
|
||
Attachment #8773516 -
Attachment is obsolete: true
Flags: needinfo?(jinank94)
Attachment #8773779 -
Flags: review?(arai.unmht)
Attachment #8773779 -
Flags: checkin+
Assignee | ||
Updated•8 years ago
|
Keywords: checkin-needed
Reporter | ||
Comment 9•8 years ago
|
||
Comment on attachment 8773779 [details] [diff] [review] a2.diff Review of attachment 8773779 [details] [diff] [review]: ----------------------------------------------------------------- Please remove "[mq]: bug1284441" part from commit message. Also "checkin+" means the patch have already checked in, so you don't need to touch the flag.
Attachment #8773779 -
Flags: review?(arai.unmht)
Attachment #8773779 -
Flags: feedback+
Attachment #8773779 -
Flags: checkin+
Reporter | ||
Updated•8 years ago
|
Keywords: checkin-needed
Reporter | ||
Updated•8 years ago
|
Flags: needinfo?(jinank94)
Assignee | ||
Comment 10•8 years ago
|
||
Attachment #8773779 -
Attachment is obsolete: true
Flags: needinfo?(jinank94)
Attachment #8773913 -
Flags: review?(arai.unmht)
Reporter | ||
Comment 11•8 years ago
|
||
Comment on attachment 8773913 [details] [diff] [review] a2.diff Review of attachment 8773913 [details] [diff] [review]: ----------------------------------------------------------------- Thanks, the commit message is now okay, however, somehow the patch file is corrupted. > @@ -1213,7 +1213,7 @@ ExpressionDecompiler::decompilePC(jsbyte > return decompilePCForStackOperand(pc, -int32_t(GET_ARGC(pc) + 2)) && > write("(...)"); > case JSOP_SPREADCALL: > - return decompilePCForStackOperand(pc, -int32_t(3)) && > + return decompilePCForStackOperand(pc, -3) && > write("(...)"); > case JSOP_NEWARRAY: > return write("[]");) So, please discard this patch, and import attachment 8773779 [details] [diff] [review] again, then modify the commit message with the following command: hg qref -m 'Bug 1284441 - Remove unnecessary cast from ExpressionDecompiler::decompilePC. r=arai'
Attachment #8773913 -
Flags: review?(arai.unmht)
Assignee | ||
Comment 12•8 years ago
|
||
Attachment #8773913 -
Attachment is obsolete: true
Attachment #8773921 -
Flags: review?(arai.unmht)
Reporter | ||
Comment 13•8 years ago
|
||
Comment on attachment 8773921 [details] [diff] [review] a2.diff Review of attachment 8773921 [details] [diff] [review]: ----------------------------------------------------------------- Thanks, perfect!
Attachment #8773921 -
Flags: review?(arai.unmht) → review+
Reporter | ||
Updated•8 years ago
|
Keywords: checkin-needed
Assignee | ||
Comment 14•8 years ago
|
||
(In reply to Tooru Fujisawa [:arai] from comment #13) > Comment on attachment 8773921 [details] [diff] [review] > a2.diff > > Review of attachment 8773921 [details] [diff] [review]: > ----------------------------------------------------------------- > > Thanks, perfect! Any other bugs that I could work on?
Flags: needinfo?(arai.unmht)
Comment 15•8 years ago
|
||
Pushed by ryanvm@gmail.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/850f1a2a24cf Remove unnecessary cast from ExpressionDecompiler::decompilePC. r=arai
Keywords: checkin-needed
Assignee | ||
Updated•8 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
Resolution: --- → INVALID
Comment 16•8 years ago
|
||
1) This bug isn't invalid or you presumably wouldn't have made a patch for it. 2) Bugs get resolved automatically once the patch is merged to mozilla-central, so please don't manually close out the bug without a good reason for doing so. Thanks for the patch!
Status: RESOLVED → REOPENED
Resolution: INVALID → ---
Reporter | ||
Comment 17•8 years ago
|
||
(In reply to Jinank Jain from comment #14) > Any other bugs that I could work on? how about bug 1020571 ?
Flags: needinfo?(arai.unmht)
Comment 18•8 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/850f1a2a24cf
Status: REOPENED → RESOLVED
Closed: 8 years ago → 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla50
Assignee | ||
Comment 19•8 years ago
|
||
(In reply to Tooru Fujisawa [:arai] from comment #17) > (In reply to Jinank Jain from comment #14) > > Any other bugs that I could work on? > > how about bug 1020571 ? This bugs seems to be fixed by ICU team then mozilla would just take that patch from there.
You need to log in
before you can comment on or make changes to this bug.
Description
•