couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rand...@apache.org
Subject git commit: enable JaegerMonkey features on mozjs185
Date Sat, 26 Jan 2013 11:20:03 GMT
Updated Branches:
  refs/heads/master fd4b78671 -> 67e75c2b3


enable JaegerMonkey features on mozjs185

closes COUCHDB-1376


Project: http://git-wip-us.apache.org/repos/asf/couchdb/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb/commit/67e75c2b
Tree: http://git-wip-us.apache.org/repos/asf/couchdb/tree/67e75c2b
Diff: http://git-wip-us.apache.org/repos/asf/couchdb/diff/67e75c2b

Branch: refs/heads/master
Commit: 67e75c2b31b3f13e45df1314e08f2a407f9a2d1b
Parents: fd4b786
Author: Randall Leeds <randall@apache.org>
Authored: Sat Jan 26 03:15:46 2013 -0800
Committer: Randall Leeds <randall@apache.org>
Committed: Sat Jan 26 03:15:46 2013 -0800

----------------------------------------------------------------------
 src/couchdb/priv/couch_js/sm185.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb/blob/67e75c2b/src/couchdb/priv/couch_js/sm185.c
----------------------------------------------------------------------
diff --git a/src/couchdb/priv/couch_js/sm185.c b/src/couchdb/priv/couch_js/sm185.c
index c11e885..bfee023 100644
--- a/src/couchdb/priv/couch_js/sm185.c
+++ b/src/couchdb/priv/couch_js/sm185.c
@@ -345,6 +345,10 @@ main(int argc, const char* argv[])
 
     JS_SetErrorReporter(cx, couch_error);
     JS_ToggleOptions(cx, JSOPTION_XML);
+    JS_SetOptions(cx, JSOPTION_METHODJIT);
+#ifdef JSOPTION_TYPE_INFERENCE
+    JS_SetOptions(cx, JSOPTION_TYPE_INFERENCE);
+#endif
     JS_SetContextPrivate(cx, args);
     
     SETUP_REQUEST(cx);


Mime
View raw message