aboutsummaryrefslogtreecommitdiffstats
path: root/lib/VMCore/Verifier.cpp
diff options
context:
space:
mode:
authorMisha Brukman <brukman+llvm@gmail.com>2003-10-10 17:54:14 +0000
committerMisha Brukman <brukman+llvm@gmail.com>2003-10-10 17:54:14 +0000
commit6b63452c3ad26678b32f93dbca55902a313ee4e9 (patch)
treedb00e2706644d483f011b5c431934ccc6a113ba6 /lib/VMCore/Verifier.cpp
parent4afac18fd4cae1b93907d7db03c5fdb7f2f66d64 (diff)
downloadexternal_llvm-6b63452c3ad26678b32f93dbca55902a313ee4e9.zip
external_llvm-6b63452c3ad26678b32f93dbca55902a313ee4e9.tar.gz
external_llvm-6b63452c3ad26678b32f93dbca55902a313ee4e9.tar.bz2
Fix spelling/grammar.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9023 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/VMCore/Verifier.cpp')
-rw-r--r--lib/VMCore/Verifier.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/VMCore/Verifier.cpp b/lib/VMCore/Verifier.cpp
index d79a6e7..1d4ac25 100644
--- a/lib/VMCore/Verifier.cpp
+++ b/lib/VMCore/Verifier.cpp
@@ -20,11 +20,11 @@
// * PHI nodes must have at least one entry
// * All basic blocks should only end with terminator insts, not contain them
// * The entry node to a function must not have predecessors
-// * All Instructions must be embeded into a basic block
+// * All Instructions must be embedded into a basic block
// . Function's cannot take a void typed parameter
// * Verify that a function's argument list agrees with it's declared type.
// * It is illegal to specify a name for a void value.
-// * It is illegal to have a internal global value with no intitalizer
+// * It is illegal to have a internal global value with no initializer
// * It is illegal to have a ret instruction that returns a value that does not
// agree with the function return value type.
// * Function call argument types match the function prototype
@@ -325,7 +325,7 @@ void Verifier::visitUserOp1(Instruction &I) {
void Verifier::visitPHINode(PHINode &PN) {
// Ensure that the PHI nodes are all grouped together at the top of the block.
// This can be tested by checking whether the instruction before this is
- // either nonexistant (because this is begin()) or is a PHI node. If not,
+ // either nonexistent (because this is begin()) or is a PHI node. If not,
// then there is some other instruction before a PHI.
Assert2(&PN.getParent()->front() == &PN || isa<PHINode>(PN.getPrev()),
"PHI nodes not grouped at top of basic block!",