Don't segfault on corrupted type_code fields
Don't segfault on corrupted type_code fields

psuriana/Halide,kgnk/Halide,kgnk/Halide,kgnk/Halide,psuriana/Halide,psuriana/Halide,kgnk/Halide,kgnk/Halide,kgnk/Halide,psuriana/Halide,kgnk/Halide,kgnk/Halide,psuriana/Halide,psuriana/Halide,psuriana/Halide