[gjs/wip/js24: 2/12] update for changes in options
- From: Tim Lunn <timl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gjs/wip/js24: 2/12] update for changes in options
- Date: Tue, 29 Oct 2013 04:37:10 +0000 (UTC)
commit f445c721530c74204fa0d3266a6c1e90cfadf4a4
Author: Tim Lunn <tim feathertop org>
Date: Tue Oct 29 14:41:14 2013 +1100
update for changes in options
JSOPTION_STRICT rename JSOPTION_EXTRA_WARNINGS
JSOPTION_METHODJIT removed since JaegerMonkey is gone, use JSOPTION_BASELINE instead
https://bugzilla.gnome.org/show_bug.cgi?id=711046
gjs/context.cpp | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gjs/context.cpp b/gjs/context.cpp
index b539969..46e59c8 100644
--- a/gjs/context.cpp
+++ b/gjs/context.cpp
@@ -587,11 +587,11 @@ gjs_context_constructor (GType type,
*
* JSOPTION_STRICT: Report warnings to error reporter function.
*/
- options_flags = JSOPTION_DONT_REPORT_UNCAUGHT | JSOPTION_STRICT;
+ options_flags = JSOPTION_DONT_REPORT_UNCAUGHT | JSOPTION_EXTRA_WARNINGS;
if (!g_getenv("GJS_DISABLE_JIT")) {
gjs_debug(GJS_DEBUG_CONTEXT, "Enabling JIT");
- options_flags |= JSOPTION_METHODJIT | JSOPTION_TYPE_INFERENCE;
+ options_flags |= JSOPTION_BASELINE | JSOPTION_TYPE_INFERENCE;
}
JS_SetOptions(js_context->context,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]