Use type information in inlineIsObject to skip doing the tag check if we can

RESOLVED FIXED in mozilla37

Status

()

Core
JavaScript Engine: JIT
RESOLVED FIXED
3 years ago
3 years ago

People

(Reporter: bz, Assigned: bz)

Tracking

unspecified
mozilla37
x86
Mac OS X
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

Seems like a pretty straightforward microoptimization.
Created attachment 8535964 [details] [diff] [review]
When inlining IsObject(), if our type info says we have an object, just output a constant true instead of doing a dynamic check
Attachment #8535964 - Flags: review?(jdemooij)

Updated

3 years ago
Attachment #8535964 - Flags: review?(jdemooij) → review+
https://hg.mozilla.org/mozilla-central/rev/030dbcfae66c
Status: NEW → RESOLVED
Last Resolved: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla37
You need to log in before you can comment on or make changes to this bug.