Add an assert on an implemented feature rather than letting it silently fail.

This commit is contained in:
Dan Gohman
2017-09-22 16:26:43 -07:00
parent 64d596005c
commit 06f0b00c2d

View File

@@ -189,7 +189,10 @@ fn relocate(
write_unaligned(reloc_address as *mut i32, reloc_delta_i32); write_unaligned(reloc_address as *mut i32, reloc_delta_i32);
} }
} }
// TODO: deal with jumptable relocations assert!(
relocs.jts.is_empty(),
"TODO: deal with jumptable relocations"
);
} }
} }