You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by ra...@apache.org on 2013/01/26 12:19:43 UTC
git commit: enable JaegerMonkey features on mozjs185
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 <ra...@apache.org>
Authored: Sat Jan 26 03:15:46 2013 -0800
Committer: Randall Leeds <ra...@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);