SETHEAP macro did not use argument.
commita5efe0b0d8a85a5483d547c23a20b6fd9f18a953
authorCalvin Beck <hobbes@ualberta.ca>
dateWed 25 Feb 2015, 20:34 (12 years ago)
parentb32de5c
rts/idris_rts.h+1−1
@@ -162,7 +162,7 @@ typedef void(*func)(VM*, VAL*);
162162#define SETTY(x,t) (x)->ty = (((x)->ty & 0xffff0000) | (t))
163163
164164#define GETHEAP(x) ((x)->ty >> 16)
165−#define SETHEAP(x,y) (x)->ty = (((x)->ty & 0x0000ffff) | ((t) << 16))
165+#define SETHEAP(x,y) (x)->ty = (((x)->ty & 0x0000ffff) | ((y) << 16))
166166
167167// Integers, floats and operators
168168