Throw TypeError vs vomiting on ourselves when instanceof rhs is undef.

I did not fix this in BasicByteCodeGeneratingVisitor.