This one is probably easily catchable even by a static code analysis, though.
I suspect this is the result of th->has_object being added later than the surrounding code. I don't think someone would write this code on the first attempt with this bug. It's too obvious.
If the code repo ever becomes available, I'll check my theory out. :D
I'd be curious to see the total number of bugs ever found in this code; I suspect it's going to have a far lower defect density than any other JS engine, especially the ones in the big browsers.