Compiler: trampoline improvement, avoid allocating arrays in common cases