add fence builtin function

This commit is contained in:
Andrew Kelley
2016-05-04 18:34:17 -07:00
parent c95e497857
commit dedde0d790
5 changed files with 58 additions and 5 deletions

View File

@@ -687,6 +687,8 @@ static bool eval_fn_call_builtin(EvalFn *ef, AstNode *node, ConstExprValue *out_
return eval_fn_with_overflow(ef, node, out_val, bignum_add);
case BuiltinFnIdSubWithOverflow:
return eval_fn_with_overflow(ef, node, out_val, bignum_sub);
case BuiltinFnIdFence:
return false;
case BuiltinFnIdMemcpy:
case BuiltinFnIdMemset:
case BuiltinFnIdSizeof: