1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-02 09:02:37 +03:00

Fix spelling errors and typos in comments

Author: Daniel Gustafsson <daniel@yesql.se>
This commit is contained in:
Magnus Hagander
2018-11-02 13:56:16 +01:00
parent 8610c973dd
commit fbec7459aa
32 changed files with 34 additions and 34 deletions

View File

@ -438,7 +438,7 @@ llvm_optimize_module(LLVMJitContext *context, LLVMModuleRef module)
if (context->base.flags & PGJIT_OPT3)
{
/* TODO: Unscientifically determined threshhold */
/* TODO: Unscientifically determined threshold */
LLVMPassManagerBuilderUseInlinerWithThreshold(llvm_pmb, 512);
}
else
@ -853,7 +853,7 @@ llvm_split_symbol_name(const char *name, char **modname, char **funcname)
{
/*
* Symbol names cannot contain a ., therefore we can split based on
* first and last occurance of one.
* first and last occurrence of one.
*/
*funcname = rindex(name, '.');
(*funcname)++; /* jump over . */