JM: Add shell API to assert function is JITed

RESOLVED FIXED

Status

()

RESOLVED FIXED
8 years ago
8 years ago

People

(Reporter: adrake, Assigned: adrake)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Assignee)

Description

8 years ago
Just need to add an assertJIT function that, if called from a function that's interpreted, fails.
(Assignee)

Updated

8 years ago
Assignee: general → adrake
Blocks: 578153
(Assignee)

Comment 1

8 years ago
I should be more specific: if the methodjit is disabled either at compile or run time, the assert will always succeed.
(Assignee)

Comment 2

8 years ago
Created attachment 457681 [details] [diff] [review]
Proposed patch

Really simple patch to do this.
Attachment #457681 - Flags: review?(dvander)
Attachment #457681 - Flags: review?(dvander) → review+
(Assignee)

Comment 3

8 years ago
http://hg.mozilla.org/users/danderson_mozilla.com/moo/rev/a998833b7178
Status: NEW → RESOLVED
Last Resolved: 8 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.