fix spidermonkey issue

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7007 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale
2007-12-28 22:04:56 +00:00
parent 04e33f191a
commit ef563f04c4
2 changed files with 2 additions and 2 deletions

View File

@@ -425,6 +425,7 @@ InitExceptionObject(JSContext *cx, JSObject *obj, JSString *message,
APPEND_CHAR_TO_STACK('(');
for (i = 0; i < fp->argc; i++) {
/* Avoid toSource bloat and fallibility for object types. */
v = fp->argv[i];
if (JSVAL_IS_PRIMITIVE(v)) {