Dynamic native optimization of interpreters