support constant functions like "mac()" on branch