mirror of
https://github.com/intel/llvm.git
synced 2026-01-23 16:06:39 +08:00
Fix -asserts build
llvm-svn: 141313
This commit is contained in:
@@ -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 ................................................--*/
|
||||
|
||||
Reference in New Issue
Block a user