--- js.c 2006/07/30 08:00:45 1.4
+++ js.c 2006/08/03 12:30:16 1.5
@@ -1187,7 +1187,11 @@
for (sprop = SCOPE_LAST_PROP(scope); sprop; sprop = sprop->parent) {
if (SCOPE_HAD_MIDDLE_DELETE(scope) && !SCOPE_HAS_PROPERTY(scope, sprop))
continue;
+#ifdef OSSP
+ fprintf(fp, "%3u %lx", i, (unsigned long)sprop);
+#else
fprintf(fp, "%3u %p", i, sprop);
+#endif
if (JSID_IS_INT(sprop->id)) {
fprintf(fp, " [%ld]", (long)JSVAL_TO_INT(sprop->id));
} else if (JSID_IS_ATOM(sprop->id)) {
@@ -1208,7 +1212,11 @@
#undef DUMP_ATTR
fprintf(fp, " slot %lu flags %x shortid %d\n",
+#ifdef OSSP
+ (unsigned long)sprop->slot, sprop->flags, sprop->shortid);
+#else
sprop->slot, sprop->flags, sprop->shortid);
+#endif
}
}
|