Closed Bug 840580 Opened 11 years ago Closed 11 years ago

BaselineCompiler: IC for ToBool Null|Undefined

Categories

(Core :: JavaScript Engine, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: evilpie, Assigned: evilpie)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

Attached patch v1Splinter Review
This should help some v8 benchmarks, in combination with a ToBool IC for object.
Attachment #712962 - Flags: review?(kvijayan)
Assignee: general → evilpies
Status: NEW → ASSIGNED
Flags: needinfo?
Comment on attachment 712962 [details] [diff] [review]
v1

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

Looks good.  I think down the line, we want to extend this so that baseline can distinguish between null and undefined showing up at a site (my intuition is that it in most cases, if either of them show up, it'll be one of them, not both).

But that bridge can be crossed once we start on work to do stub amalgamation, which would be useful in this case.
Attachment #712962 - Flags: review?(kvijayan) → review+
Flags: needinfo?
Status: ASSIGNED → RESOLVED
Closed: 11 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: