MIR Parser: Extract the code that parses stack object references into a new