summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/VMCore/Core.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/VMCore/Core.cpp b/lib/VMCore/Core.cpp
index 8241a80..9676057 100644
--- a/lib/VMCore/Core.cpp
+++ b/lib/VMCore/Core.cpp
@@ -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 ................................................--*/