Saving correctly the IR
Saving correctly the IR

The function optimize basic block will now correctly save the result of
the IRGenerator inside the dedicated representation. this way, if the IR
is used once more later, it does not need to be regenerated.

srokicki/HybridDBT,srokicki/HybridDBT,srokicki/HybridDBT,srokicki/HybridDBT,srokicki/HybridDBT