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:19:43 GMT
Updated Branches:
  refs/heads/1.3.x 8be3ec021 -> b20473602


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/b2047360
Tree: http://git-wip-us.apache.org/repos/asf/couchdb/tree/b2047360
Diff: http://git-wip-us.apache.org/repos/asf/couchdb/diff/b2047360

Branch: refs/heads/1.3.x
Commit: b20473602f201432591d30a453cc0741e0418f24
Parents: 8be3ec0
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:16:50 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/b2047360/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