Displaying 2 results from an estimated 2 matches for "throw_nullptrexception".
2015 Oct 19
3
Managed Languages BOF @ Dev Meeting
...ull checks in the unwind block, like
>
> superblock: # unwinds to unwind_block
> null_check(ptr_a)
> do_something
> null_check(ptr_b)
> do_something_again
>
> unwind_block:
> ;; either ptr_a is null or ptr_b is null
> if (ptr_a == null)
> throw_nullptrexception(bci = 42)
> else ;; if (ptr_b == null)
> throw_nullptrexception(bci = 43)
>
> So the code explosion problem still exists (in unwind_block), and
> we've duplicated a bunch of code.
Does it? I guess it depends on how you are implementing the exceptions. I was expecting...
2015 Oct 18
3
Managed Languages BOF @ Dev Meeting
I won’t be able to attend, but I’d be interested in hearing if any conclusions are reached on several of these topics:
> On 16 Oct 2015, at 21:27, Joe Ranieri via llvm-dev <llvm-dev at lists.llvm.org> wrote:
>
> - Dealing with the explosion of basic blocks that come up with
> languages where almost every function call, implicit and explicit, can
> raise exceptions.
This