compiler: remove some erroneous code that was never run

The code accidentally called Type::type_descriptor rather than the
do_type_descriptor method.  Calling Type::type_descriptor with a second
argument of NULL would always crash.  Since that never happened,
it revealed that this code was never actually executed.


Change-Id: I76a5c2780f36425aadcb153250d4943a63c831f5
Reviewed-by: Than McIntosh <>
Reviewed-by: Cherry Zhang <>
1 file changed