[gjs] update for changes in options



commit 26d62b09a534c20961980c1d7499f2605ace8b18
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..4f907df 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_TYPE_INFERENCE | JSOPTION_ION | JSOPTION_BASELINE | JSOPTION_ASMJS;
     }
 
     JS_SetOptions(js_context->context,


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]