memory: code motion: move MEMORY_LISTENER_CALL()