OSSP CVS Repository

ossp - Difference in ossp-pkg/js/src/jsinterp.c versions 1.1 and 1.2
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [History

ossp-pkg/js/src/jsinterp.c 1.1 -> 1.2

--- jsinterp.c   2006/06/16 01:28:02     1.1
+++ jsinterp.c   2006/07/22 16:14:23     1.2
@@ -931,6 +931,7 @@
         thisp = frame.thisp;
 
         id = ATOM_TO_JSID(cx->runtime->atomState.noSuchMethodAtom);
+#if JS_HAS_XML_SUPPORT
         if (OBJECT_IS_XML(cx, thisp)) {
             JSXMLObjectOps *ops;
 
@@ -942,8 +943,11 @@
             }
             vp[1] = OBJECT_TO_JSVAL(thisp);
         } else {
+#endif
             ok = OBJ_GET_PROPERTY(cx, thisp, id, &v);
+#if JS_HAS_XML_SUPPORT
         }
+#endif
         if (!ok)
             goto out2;
         if (JSVAL_IS_PRIMITIVE(v))

CVSTrac 2.0.1