[gjs] context: Turn on type inference
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gjs] context: Turn on type inference
- Date: Tue, 16 Jul 2013 01:13:59 +0000 (UTC)
commit 03c13e109fb8d3ac11df2c4ca2aa5953d76e678a
Author: Jasper St. Pierre <jstpierre mecheye net>
Date: Mon Jul 15 20:44:38 2013 -0400
context: Turn on type inference
gjs/context.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gjs/context.c b/gjs/context.c
index 536abb8..844e906 100644
--- a/gjs/context.c
+++ b/gjs/context.c
@@ -595,7 +595,7 @@ gjs_context_constructor (GType type,
if (!g_getenv("GJS_DISABLE_JIT")) {
gjs_debug(GJS_DEBUG_CONTEXT, "Enabling JIT");
- options_flags |= JSOPTION_METHODJIT;
+ options_flags |= JSOPTION_METHODJIT | JSOPTION_TYPE_INFERENCE;
}
JS_SetOptions(js_context->context,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]