Merge pull request #1717 from dumganhar/gles20

Commented JS_SetGCZeal.
This commit is contained in:
James Chen 2012-12-04 01:24:02 -08:00
commit df87c0717d
1 changed files with 1 additions and 1 deletions

View File

@ -412,7 +412,7 @@ void ScriptingCore::createGlobalContext() {
JS_SetOptions(this->cx_, JS_GetOptions(this->cx_) & ~JSOPTION_METHODJIT_ALWAYS);
JS_SetErrorReporter(this->cx_, ScriptingCore::reportError);
#if defined(JS_GC_ZEAL) && defined(DEBUG)
JS_SetGCZeal(this->cx_, 2, JS_DEFAULT_ZEAL_FREQ);
//JS_SetGCZeal(this->cx_, 2, JS_DEFAULT_ZEAL_FREQ);
#endif
this->global_ = NewGlobalObject(cx_);
for (std::vector<sc_register_sth>::iterator it = registrationList.begin(); it != registrationList.end(); it++) {