12 lines
263 B
C
12 lines
263 B
C
#ifndef __RUNTIME_H__
|
|
#define __RUNTIME_H__
|
|
|
|
#include "ir.h"
|
|
|
|
Value eval_binary(IRInstr instr, const Value *lhs, const Value *rhs);
|
|
Value eval_unary(IRInstr instr, const Value *v);
|
|
bool is_nonzero(const Value *v);
|
|
Value zero_val(Type ty);
|
|
|
|
#endif /* RUNTIME_H */
|