Resource Limits

Signed-off-by: Edward Z. Yang <ezyang@mit.edu>
Add preliminary primop support for RC.

Signed-off-by: Edward Z. Yang <ezyang@mit.edu>
Remove unnecessary casts.

Signed-off-by: Edward Z. Yang <ezyang@mit.edu>