SIL Serialization: rename layout from TODO to NO_OPERAND.

Also add llvm_unreachable to make sure all SILInstructions are handled.


Swift SVN r8528
This commit is contained in:
Manman Ren
2013-09-20 23:11:07 +00:00
parent eecb56a9ad
commit fb97bef441
4 changed files with 14 additions and 11 deletions

View File

@@ -312,7 +312,7 @@ void Serializer::writeBlockInfoBlock() {
RECORD(sil_block, SIL_ONE_TYPE_VALUES);
RECORD(sil_block, SIL_TWO_OPERANDS);
RECORD(sil_block, SIL_INST_APPLY);
RECORD(sil_block, SIL_INST_TODO);
RECORD(sil_block, SIL_INST_NO_OPERAND);
BLOCK(SIL_INDEX_BLOCK);
RECORD(sil_block, SIL_FUNC_NAMES);