Closed Bug 766011 Opened 12 years ago Closed 12 years ago

IonMonkey: Only monitor types in InvokeFunction when necessary

Categories

(Core :: JavaScript Engine, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: dvander, Assigned: dvander)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

Attached patch fixSplinter Review
This is small and we really shouldn't have to do this, but it shows up in the richards profile because we don't have polymorphic call inlining yet. It can't hurt.
Attachment #634274 - Flags: review?(jdemooij)
Comment on attachment 634274 [details] [diff] [review]
fix

Flipping review to bhackett as discussed, I'm not entirely sure this always holds.
Attachment #634274 - Flags: review?(jdemooij) → review?(bhackett1024)
Comment on attachment 634274 [details] [diff] [review]
fix

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

::: js/src/ion/VMFunctions.cpp
@@ +68,5 @@
> +    // TI will return false for monitorReturnTypes, meaning there is no
> +    // TypeBarrier or Monitor instruction following this. However, we need to
> +    // explicitly monitor if the callee has not been analyzed yet. We special
> +    // case this to avoid the cost of ion::GetPcScript if we must take this
> +    // patch frequently.

s/patch/path
Attachment #634274 - Flags: review?(bhackett1024) → review+
http://hg.mozilla.org/projects/ionmonkey/rev/572de56569fe
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.