projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
DebugInfo: Remove unnecessary API from DIDerivedType and DIType
[oota-llvm.git]
/
examples
/
Kaleidoscope
/
Chapter8
/
toy.cpp
diff --git
a/examples/Kaleidoscope/Chapter8/toy.cpp
b/examples/Kaleidoscope/Chapter8/toy.cpp
index 5ffc4ca55b3be066f6c08b5c2e19d37a89d10bd9..5665c06a9afb0020e93966a97469105e3f967a34 100644
(file)
--- a/
examples/Kaleidoscope/Chapter8/toy.cpp
+++ b/
examples/Kaleidoscope/Chapter8/toy.cpp
@@
-817,7
+817,7
@@
static PrototypeAST *ParseExtern() {
static DIBuilder *DBuilder;
DIType DebugInfo::getDoubleTy() {
- if (DblTy
.isValid()
)
+ if (DblTy)
return DblTy;
DblTy = DBuilder->createBasicType("double", 64, 64, dwarf::DW_ATE_float);