promotional, or sales literature without prior written consent from
MIT in each case. */
-/* $Header: /Users/cph/tmp/foo/mit-scheme/mit-scheme/v7/src/microcode/bitstr.c,v 9.21 1987/01/22 14:29:24 jinx Exp $
+/* $Header: /Users/cph/tmp/foo/mit-scheme/mit-scheme/v7/src/microcode/bitstr.c,v 9.22 1987/02/04 17:47:44 jinx Exp $
Bit string primitives.
nbits = 0;
}
else
- {
+ { Pointer temp;
long mask;
mask = low_mask( head);
- *destination++ = ((*source++ & mask) | (*destination & ~mask));
+ temp = *destination;
+ *destination++ = ((*source++ & mask) | (temp & ~mask));
nbits -= head;
}
}
{
long mask1, mask2;
- {
+ { Pointer temp;
long mask;
mask = low_mask( head);
+ temp = *destination;
*destination++ =
- (((*source >> offset1) & mask) | (*destination & ~mask));
+ (((*source >> offset1) & mask) | (temp & ~mask));
}
nbits -= head;
mask1 = low_mask( offset1);
promotional, or sales literature without prior written consent from
MIT in each case. */
-/* $Header: /Users/cph/tmp/foo/mit-scheme/mit-scheme/v7/src/microcode/string.c,v 9.20 1987/01/21 20:27:56 jinx Exp $ */
+/* $Header: /Users/cph/tmp/foo/mit-scheme/mit-scheme/v7/src/microcode/string.c,v 9.21 1987/02/04 17:48:52 jinx Exp $ */
/* String primitives. */
}
#define substring_modification_prefix() \
- long start, end, length; \
- char *scan; \
+ long start, end; \
+ fast long length; \
+ fast char *scan, temp; \
Primitive_3_Args (); \
\
guarantee_string_arg_1 (); \
substring_modification_prefix ();
while (length-- > 0)
- *scan++ = (char_upcase (*scan));
+ { temp = *scan;
+ *scan++ = (char_upcase (temp));
+ }
return (NIL);
}
substring_modification_prefix ();
while (length-- > 0)
- *scan++ = (char_downcase (*scan));
+ { temp = *scan;
+ *scan++ = (char_downcase (temp));
+ }
return (NIL);
}
\f