anchor.diff:  	   "please regenerate native code for this runtime system\n", [Mod]),
         bad_crc;
       true ->
  +      put(closures_to_patch, []),
         %% Create data segment
         {ConstAddr,ConstMap2} =
   	create_data_segment(ConstAlign, ConstSize, ConstMap),
  
positive.code:   case get(hipe_patch_closures) of
      false ->
        []; % This is taken care of when registering the module.
      true -> % We are not loading a module patch these closures
        RemoteOrLocal = local, % closure code refs are local
        DestAddress = get_native_address(DestMFA, Addresses, RemoteOrLocal),
        BEAMAddress = hipe_bifs:fun_to_address(DestMFA),
        FE = hipe_bifs:get_fe(mod(DestMFA), {Uniq, Index, BEAMAddress}),
        hipe_bifs:set_native_address_in_fe(FE, DestAddress),
        ?debug_msg("Patch FE(~w) to 0x~.16b->0x~.16b (emu:0x~.16b)\n",
  		 [DestMFA, FE, DestAddress, BEAMAddress]),
        ?ASSERT(assert_local_patch(Address)),
  
negative.code:       %% The call to export_funs/1 above updated the native addresses
        %% for the targets, so passing 'Addresses' is not needed.
        redirect(ReferencesToPatch),
        %% Final clean up.
        _ = erase(hipe_patch_closures),
        _ = erase(hipe_assert_code_area),
        ?debug_msg("****************Loader Finished****************\n", []),
        {module,Mod}  % for compatibility with code:load_file/1
    end.
  