[llvm-commits] CVS: llvm/lib/AsmParser/llvmAsmParser.cpp.cvs llvmAsmParser.y.cvs
Reid Spencer
reid at x10sys.com
Mon Apr 16 15:02:44 PDT 2007
Changes in directory llvm/lib/AsmParser:
llvmAsmParser.cpp.cvs updated: 1.87 -> 1.88
llvmAsmParser.y.cvs updated: 1.88 -> 1.89
---
Log message:
Regenerate
---
Diffs of the changes: (+2 -2)
llvmAsmParser.cpp.cvs | 2 +-
llvmAsmParser.y.cvs | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
Index: llvm/lib/AsmParser/llvmAsmParser.cpp.cvs
diff -u llvm/lib/AsmParser/llvmAsmParser.cpp.cvs:1.87 llvm/lib/AsmParser/llvmAsmParser.cpp.cvs:1.88
--- llvm/lib/AsmParser/llvmAsmParser.cpp.cvs:1.87 Mon Apr 16 15:35:38 2007
+++ llvm/lib/AsmParser/llvmAsmParser.cpp.cvs Mon Apr 16 17:02:22 2007
@@ -5488,7 +5488,7 @@
// Check for call to invalid intrinsic to avoid crashing later.
if (Function *theF = dyn_cast<Function>(V)) {
- if (theF->hasName() && (strlen(theF->getValueName()->getKeyData()) >= 5)&&
+ if (theF->hasName() && (theF->getValueName()->getKeyLength() >= 5) &&
(0 == strncmp(theF->getValueName()->getKeyData(), "llvm.", 5)) &&
!theF->getIntrinsicID(true))
GEN_ERROR("Call to invalid LLVM intrinsic function '" +
Index: llvm/lib/AsmParser/llvmAsmParser.y.cvs
diff -u llvm/lib/AsmParser/llvmAsmParser.y.cvs:1.88 llvm/lib/AsmParser/llvmAsmParser.y.cvs:1.89
--- llvm/lib/AsmParser/llvmAsmParser.y.cvs:1.88 Mon Apr 16 15:35:38 2007
+++ llvm/lib/AsmParser/llvmAsmParser.y.cvs Mon Apr 16 17:02:23 2007
@@ -2823,7 +2823,7 @@
// Check for call to invalid intrinsic to avoid crashing later.
if (Function *theF = dyn_cast<Function>(V)) {
- if (theF->hasName() && (strlen(theF->getValueName()->getKeyData()) >= 5)&&
+ if (theF->hasName() && (theF->getValueName()->getKeyLength() >= 5) &&
(0 == strncmp(theF->getValueName()->getKeyData(), "llvm.", 5)) &&
!theF->getIntrinsicID(true))
GEN_ERROR("Call to invalid LLVM intrinsic function '" +
More information about the llvm-commits
mailing list