--- jsinterp.c 2006/07/24 18:38:27 1.4
+++ jsinterp.c 2006/07/24 19:04:53 1.5
@@ -920,7 +920,7 @@
thisp = frame.thisp;
id = ATOM_TO_JSID(cx->runtime->atomState.noSuchMethodAtom);
-#if JS_HAS_XML_SUPPORT
+#if defined(OSSP) /* BUGFIX */ && JS_HAS_XML_SUPPORT
if (OBJECT_IS_XML(cx, thisp)) {
JSXMLObjectOps *ops;
@@ -934,7 +934,7 @@
} else {
#endif
ok = OBJ_GET_PROPERTY(cx, thisp, id, &v);
-#if JS_HAS_XML_SUPPORT
+#if defined(OSSP) /* BUGFIX */ && JS_HAS_XML_SUPPORT
}
#endif
if (!ok)
@@ -1733,7 +1733,7 @@
void *mark;
jsbytecode *endpc, *pc2;
JSOp op, op2;
-#ifdef OSSP
+#ifdef OSSP /* CLEANUP */
const JSCodeSpec *cs = NULL;
#else
const JSCodeSpec *cs;
@@ -1742,7 +1742,7 @@
JSAtom *atom;
uintN argc, slot, attrs;
jsval *vp, lval, rval, ltmp, rtmp;
-#ifdef OSSP
+#ifdef OSSP /* CLEANUP */
jsid id = -1L;
#else
jsid id;
@@ -1758,7 +1758,7 @@
JSFunction *fun;
JSType type;
#ifdef DEBUG
-#ifdef OSSP
+#ifdef OSSP /* CLEANUP */
FILE *tracefp = NULL;
#else
FILE *tracefp;
@@ -5503,7 +5503,7 @@
if (printable)
js_ReportIsNotDefined(cx, printable);
ok = JS_FALSE;
-#ifdef OSSP
+#ifdef OSSP /* CLEANUP */
sp = NULL;
#endif
goto out;
|