projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9a6eba6
)
Fix -asserts build
author
Matt Beaumont-Gay
<matthewbg@google.com>
Thu, 6 Oct 2011 20:59:09 +0000
(20:59 +0000)
committer
Matt Beaumont-Gay
<matthewbg@google.com>
Thu, 6 Oct 2011 20:59:09 +0000
(20:59 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@141313
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/VMCore/Core.cpp
patch
|
blob
|
history
diff --git
a/lib/VMCore/Core.cpp
b/lib/VMCore/Core.cpp
index 8241a809d48defc8820d5bb60aedf32a9490f7fd..96760579b656ceec3e06217d6c3a442c1cfcc706 100644
(file)
--- 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 ................................................--*/