Closed Bug 1165463 Opened 9 years ago Closed 9 years ago

Inline push/pop/shift on unboxed arrays in Ion

Categories

(Core :: JavaScript Engine: JIT, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla41
Tracking Status
firefox41 --- fixed

People

(Reporter: bhackett1024, Assigned: bhackett1024)

References

Details

Attachments

(1 file, 1 obsolete file)

Attached patch patch (obsolete) — Splinter Review
This is pretty straightforward.
Attachment #8606497 - Flags: review?(jdemooij)
Attached patch patchSplinter Review
Remove an extraneous modification to the octane source.
Assignee: nobody → bhackett1024
Attachment #8606497 - Attachment is obsolete: true
Attachment #8606497 - Flags: review?(jdemooij)
Attachment #8606651 - Flags: review?(jdemooij)
Comment on attachment 8606651 [details] [diff] [review]
patch

Review of attachment 8606651 [details] [diff] [review]:
-----------------------------------------------------------------

::: js/src/jit/IonBuilder.cpp
@@ +5207,5 @@
>      JSFunction* target = &targetArg->as<JSFunction>();
>      if (target->isNative()) {
>          InliningStatus status = inlineNativeCall(callInfo, target);
> +        if (status == InliningStatus_NotInlined)
> +            status = inlineNativeCall(callInfo, target);

What's the point of this?
(In reply to Jan de Mooij [:jandem] from comment #2)
> Comment on attachment 8606651 [details] [diff] [review]
> patch
> 
> Review of attachment 8606651 [details] [diff] [review]:
> -----------------------------------------------------------------
> 
> ::: js/src/jit/IonBuilder.cpp
> @@ +5207,5 @@
> >      JSFunction* target = &targetArg->as<JSFunction>();
> >      if (target->isNative()) {
> >          InliningStatus status = inlineNativeCall(callInfo, target);
> > +        if (status == InliningStatus_NotInlined)
> > +            status = inlineNativeCall(callInfo, target);
> 
> What's the point of this?

Oops, this was in place for debugging.
Comment on attachment 8606651 [details] [diff] [review]
patch

Review of attachment 8606651 [details] [diff] [review]:
-----------------------------------------------------------------

OK, r=me with the debugging code removed.
Attachment #8606651 - Flags: review?(jdemooij) → review+
https://hg.mozilla.org/mozilla-central/rev/57dce88fc620
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla41
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: