Bug 906171 - Avoid deadlock from calling triggerOperationCallback under CodeGenerator::link, r=jandem.