Closed Bug 1056140 Opened 10 years ago Closed 10 years ago

Inline JSContext::runningWithTrustedPrincipals()

Categories

(Core :: JavaScript Engine, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla34

People

(Reporter: jandem, Assigned: jandem)

Details

Attachments

(1 file)

Attached patch PatchSplinter Review
I often see JSContext::runningWithTrustedPrincipals() show up in profiles. I think it's called as part of the recursion check (JS_CHECK_RECURSION => GetNativeStackLimit etc). It's a very small function that should just be inlined.
Attachment #8475943 - Flags: review?(luke)
Attachment #8475943 - Flags: review?(luke) → review+
https://hg.mozilla.org/mozilla-central/rev/4af1d4625953
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla34
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: