llvm.org GIT mirror llvm / ff281e5
fix typos in comments and error messges; NFC git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@307885 91177308-0d34-0410-b5e6-96231b3b80d8 Hiroshi Inoue 3 years ago
5 changed file(s) with 9 addition(s) and 9 deletion(s). Raw diff Collapse all Expand all
114114 return JITSymbol(SymAddr, JITSymbolFlags::Exported);
115115
116116 #ifdef LLVM_ON_WIN32
117 // For Windows retry without "_" at begining, as RTDyldMemoryManager uses
117 // For Windows retry without "_" at beginning, as RTDyldMemoryManager uses
118118 // GetProcAddress and standard libraries like msvcrt.dll use names
119119 // with and without "_" (for example "_itoa" but "sin").
120120 if (Name.length() > 2 && Name[0] == '_')
2222 /// This pass traverses all the instructions in a program in top-down order.
2323 /// In contrast to the instruction scheduling passes, this pass never resets
2424 /// the hazard recognizer to ensure it can correctly handles noop hazards at
25 /// the begining of blocks.
25 /// the beginning of blocks.
2626 //
2727 //===----------------------------------------------------------------------===//
2828
6565
6666 const SIMachineFunctionInfo &MFI;
6767
68 // Occupancy target at the begining of function scheduling cycle.
68 // Occupancy target at the beginning of function scheduling cycle.
6969 unsigned StartingOccupancy;
7070
7171 // Minimal real occupancy recorder for the function.
24522452 break;
24532453 }
24542454
2455 // In MS inline asm curly braces mark the begining/end of a block, therefore
2456 // they should be interepreted as end of statement
2455 // In MS inline asm curly braces mark the beginning/end of a block,
2456 // therefore they should be interepreted as end of statement
24572457 CurlyAsEndOfStatement =
24582458 isParsingIntelSyntax() && isParsingInlineAsm() &&
24592459 (getLexer().is(AsmToken::LCurly) || getLexer().is(AsmToken::RCurly));
764764 LLVMValueRef Next = nullptr;
765765 if (!Begin) {
766766 if (End != nullptr)
767 report_fatal_error("Range has an end but no begining");
767 report_fatal_error("Range has an end but no beginning");
768768 goto FunDecl;
769769 }
770770
793793 End = LLVMGetLastFunction(Src);
794794 if (!Begin) {
795795 if (End != nullptr)
796 report_fatal_error("Range has an end but no begining");
796 report_fatal_error("Range has an end but no beginning");
797797 return;
798798 }
799799
843843 LLVMValueRef Next = nullptr;
844844 if (!Begin) {
845845 if (End != nullptr)
846 report_fatal_error("Range has an end but no begining");
846 report_fatal_error("Range has an end but no beginning");
847847 goto FunClone;
848848 }
849849
884884 End = LLVMGetLastFunction(Src);
885885 if (!Begin) {
886886 if (End != nullptr)
887 report_fatal_error("Range has an end but no begining");
887 report_fatal_error("Range has an end but no beginning");
888888 return;
889889 }
890890