Inline JSContext::runningWithTrustedPrincipals()

RESOLVED FIXED in mozilla34

Status

()

Core
JavaScript Engine
RESOLVED FIXED
4 years ago
4 years ago

People

(Reporter: jandem, Assigned: jandem)

Tracking

unspecified
mozilla34
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Assignee)

Description

4 years ago
Created attachment 8475943 [details] [diff] [review]
Patch

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)

Updated

4 years ago
Attachment #8475943 - Flags: review?(luke) → review+

Comment 2

4 years ago
https://hg.mozilla.org/mozilla-central/rev/4af1d4625953
Status: ASSIGNED → RESOLVED
Last Resolved: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla34
You need to log in before you can comment on or make changes to this bug.