Fix spelling and grammar in a comment.
[oota-llvm.git] / examples / HowToUseJIT / HowToUseJIT.cpp
index 2aba8e1128a28518828f1c5e2e525d567e0fea6c..5fa4237179f7605fd0694f0b02394ec3ef17ea48 100644 (file)
@@ -69,7 +69,7 @@ int main() {
   ArgX->setName("AnArg");            // Give it a nice symbolic name for fun.
 
   // Create the add instruction, inserting it into the end of BB.
-  Instruction *Add = BinaryOperator::createAdd(One, ArgX, "addresult", BB);
+  Instruction *Add = BinaryOperator::CreateAdd(One, ArgX, "addresult", BB);
 
   // Create the return instruction and add it to the basic block
   ReturnInst::Create(Add, BB);