Closed Bug 817578 Opened 12 years ago Closed 12 years ago

BaselineCompiler: Compile SUB and MUL

Categories

(Core :: JavaScript Engine, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: jandem, Assigned: jandem)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

Attached patch PatchSplinter Review
No description provided.
Attachment #687748 - Flags: review?(kvijayan)
Comment on attachment 687748 [details] [diff] [review] Patch Review of attachment 687748 [details] [diff] [review]: ----------------------------------------------------------------- ::: js/src/ion/arm/BaselineIC-arm.cpp @@ +137,5 @@ > + masm.bind(&maybeNegZero); > + > + // Result is -0 if lhs or rhs is negative. > + masm.ma_cmn(R0.payloadReg(), R1.payloadReg()); > + masm.j(Assembler::Signed, &failure); Nit: Comment would be better if it's a bit more explicit: "Result is -0 if exactly one of lhs or rhs is negative."
Attachment #687748 - Flags: review?(kvijayan) → review+
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: