[haiku-commits] Re: haiku: hrev45669 - in src/system/boot/loader/file_systems: fat src/system/boot/loader amiga_ffs bfs .

  • From: Jessica Hamilton <jessica.l.hamilton@xxxxxxxxx>
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Mon, 13 May 2013 13:15:02 +1200

4b723e3: boot loader: Almost removed use of kernel_cpp.h.

>
>   * For some reason that is beyond me, fat/CachedBlock.cpp needs this
> header,
>     or else building the boot loader fails.
>

I believe it's because you allocate CachedBlock instances on the stack,
which call the throw version of new. I noticed in disassembly that it adds
a reference to __builtin_delete, which is then pulling in the exception
handling stuff that would otherwise be avoided.

Jessica

Other related posts: