Closed Bug 512423 Opened 17 years ago Closed 16 years ago

nanojit: inline small RegAlloc methods

Categories

(Core :: JavaScript Engine, defect)

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED FIXED
Tracking Status
status1.9.2 --- beta1-fixed

People

(Reporter: n.nethercote, Assigned: n.nethercote)

References

Details

(Whiteboard: fixed-in-tracemonkey)

Attachments

(1 file)

Attached patch patchSplinter Review
RegAlloc has a number of small methods that are called lots of times during register allocation, which makes them ideal for inlining. The attached patch does this inlining. It also removes an unnecessary level of indentation in RegAlloc.h. I don't see a SS speedup but fewer instructions are being executed and the executable size is 320 bytes smaller (on Mac) so it seems worthwhile.
Attachment #396396 - Flags: review?(edwsmith)
Attachment #396396 - Flags: review?(edwsmith) → review+
Blocks: 513616
Whiteboard: fixed-in-tracemonkey
Blocks: 515548
Status: ASSIGNED → RESOLVED
Closed: 16 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: