Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Removed gczeal bindings. #212

Merged
merged 1 commit into from Nov 7, 2015
Merged
Changes from all commits
Commits
File filter...
Filter file types
Jump to…
Jump to file
Failed to load files.

Always

Just for now

Removed gczeal bindings.

PR servo/mozjs#60 removes gczeal in release builds.
This gets about a 5% speedup in some Dromaeo JS tests.
Unfortunately, it leaves some dangling symbols that are in the jsapi_ARCH.rs
files, but hace no matching jsapi definitions. This commit removes those
definitions from the bindings.

See servo/mozjs#60 (comment)
  • Loading branch information
asajeffrey committed Nov 7, 2015
commit bbace12048fcf284060a801f5447f1a9cb718337
@@ -5108,13 +5108,6 @@ extern "C" {
pub fn JS_NewObjectForConstructor(cx: *mut JSContext,
clasp: *const JSClass,
args: *const CallArgs) -> *mut JSObject;
#[link_name = "_Z12JS_GetGCZealP9JSContextPhPjS2_"]
pub fn JS_GetGCZeal(cx: *mut JSContext, zeal: *mut u8,
frequency: *mut u32, nextScheduled: *mut u32);
#[link_name = "_Z12JS_SetGCZealP9JSContexthj"]
pub fn JS_SetGCZeal(cx: *mut JSContext, zeal: u8, frequency: u32);
#[link_name = "_Z13JS_ScheduleGCP9JSContextj"]
pub fn JS_ScheduleGC(cx: *mut JSContext, count: u32);
#[link_name = "_Z28JS_SetParallelParsingEnabledP9JSRuntimeb"]
pub fn JS_SetParallelParsingEnabled(rt: *mut JSRuntime, enabled: bool);
#[link_name = "_Z36JS_SetOffthreadIonCompilationEnabledP9JSRuntimeb"]
@@ -5108,13 +5108,6 @@ extern "C" {
pub fn JS_NewObjectForConstructor(cx: *mut JSContext,
clasp: *const JSClass,
args: *const CallArgs) -> *mut JSObject;
#[link_name = "_Z12JS_GetGCZealP9JSContextPhPjS2_"]
pub fn JS_GetGCZeal(cx: *mut JSContext, zeal: *mut u8,
frequency: *mut u32, nextScheduled: *mut u32);
#[link_name = "_Z12JS_SetGCZealP9JSContexthj"]
pub fn JS_SetGCZeal(cx: *mut JSContext, zeal: u8, frequency: u32);
#[link_name = "_Z13JS_ScheduleGCP9JSContextj"]
pub fn JS_ScheduleGC(cx: *mut JSContext, count: u32);
#[link_name = "_Z28JS_SetParallelParsingEnabledP9JSRuntimeb"]
pub fn JS_SetParallelParsingEnabled(rt: *mut JSRuntime, enabled: bool);
#[link_name = "_Z36JS_SetOffthreadIonCompilationEnabledP9JSRuntimeb"]
@@ -5108,13 +5108,6 @@ extern "C" {
pub fn JS_NewObjectForConstructor(cx: *mut JSContext,
clasp: *const JSClass,
args: *const CallArgs) -> *mut JSObject;
#[link_name = "_Z12JS_GetGCZealP9JSContextPhPjS2_"]
pub fn JS_GetGCZeal(cx: *mut JSContext, zeal: *mut u8,
frequency: *mut u32, nextScheduled: *mut u32);
#[link_name = "_Z12JS_SetGCZealP9JSContexthj"]
pub fn JS_SetGCZeal(cx: *mut JSContext, zeal: u8, frequency: u32);
#[link_name = "_Z13JS_ScheduleGCP9JSContextj"]
pub fn JS_ScheduleGC(cx: *mut JSContext, count: u32);
#[link_name = "_Z28JS_SetParallelParsingEnabledP9JSRuntimeb"]
pub fn JS_SetParallelParsingEnabled(rt: *mut JSRuntime, enabled: bool);
#[link_name = "_Z36JS_SetOffthreadIonCompilationEnabledP9JSRuntimeb"]
@@ -5108,13 +5108,6 @@ extern "C" {
pub fn JS_NewObjectForConstructor(cx: *mut JSContext,
clasp: *const JSClass,
args: *const CallArgs) -> *mut JSObject;
#[link_name = "_Z12JS_GetGCZealP9JSContextPhPjS2_"]
pub fn JS_GetGCZeal(cx: *mut JSContext, zeal: *mut u8,
frequency: *mut u32, nextScheduled: *mut u32);
#[link_name = "_Z12JS_SetGCZealP9JSContexthj"]
pub fn JS_SetGCZeal(cx: *mut JSContext, zeal: u8, frequency: u32);
#[link_name = "_Z13JS_ScheduleGCP9JSContextj"]
pub fn JS_ScheduleGC(cx: *mut JSContext, count: u32);
#[link_name = "_Z28JS_SetParallelParsingEnabledP9JSRuntimeb"]
pub fn JS_SetParallelParsingEnabled(rt: *mut JSRuntime, enabled: bool);
#[link_name = "_Z36JS_SetOffthreadIonCompilationEnabledP9JSRuntimeb"]
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.