Fix -asserts build

llvm-svn: 141313
This commit is contained in:
Matt Beaumont-Gay
2011-10-06 20:59:09 +00:00
parent b7531d622d
commit 78f290c739

View File

@@ -666,6 +666,7 @@ static LLVMOpcode map_to_llvmopcode(int opcode)
default:
assert(false && "Unhandled Opcode.");
}
return static_cast<LLVMOpcode>(0);
}
static int map_from_llvmopcode(LLVMOpcode code)
@@ -677,6 +678,7 @@ static int map_from_llvmopcode(LLVMOpcode code)
default:
assert(false && "Unhandled Opcode.");
}
return 0;
}
/*--.. Constant expressions ................................................--*/