altos/scheme: Stash cons across value allocation in compare
authorKeith Packard <keithp@keithp.com>
Mon, 11 Dec 2017 00:52:26 +0000 (16:52 -0800)
committerKeith Packard <keithp@keithp.com>
Mon, 11 Dec 2017 20:20:25 +0000 (12:20 -0800)
commitbdafb4dfad89d92efec37ed826d5f22e9167e717
treea04d3ad054cb56bd90a5e6998131da1216419156
parentb72638e60b6636b479b79bbf0047cf7409f58820
altos/scheme: Stash cons across value allocation in compare

Large ints, strings and floats can cause allocation, requiring that
the 'cons' pointer be stashed and retrieved in case it moved.

Signed-off-by: Keith Packard <keithp@keithp.com>
src/scheme/ao_scheme_builtin.c