Push and pop compile-time frame in sync with runtime.