Closed Bug 835832 Opened 12 years ago Closed 12 years ago

BaselineCompiler: Optimized stub for string getelem

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 v1 (deleted) — Splinter Review
No description provided.
Attachment #707640 - Flags: review?(jdemooij)
Comment on attachment 707640 [details] [diff] [review] v1 Review of attachment 707640 [details] [diff] [review]: ----------------------------------------------------------------- Nice, thanks! ::: js/src/ion/BaselineIC.cpp @@ +1625,5 @@ > // But for now we just bail. > return true; > } > > + if (lhs.isString() && rhs.isInt32() && res.isString()) { Nit && !stub->hasStub(ICStub::GetElem_String) To avoid adding the same stub multiple times.
Attachment #707640 - Flags: review?(jdemooij) → review+
Assignee: general → evilpies
Status: NEW → ASSIGNED
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Blocks: 836373
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: