1. A method of compiling code, the method comprising: identifying a first portion of the code that does not include a software transactional memory (STM) designator; and converting the first portion into a first pseudo STM transaction configured to execute with an STM system.