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:
@ -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 . */
|
||||
|
Reference in New Issue
Block a user