Add binding_of_caller support for recording local variables