ast_array_index_codegen: never regenerate code