From fbec7459aa39da864ad1d578f044a21c3b3b057c Mon Sep 17 00:00:00 2001 From: Magnus Hagander Date: Fri, 2 Nov 2018 13:56:16 +0100 Subject: Fix spelling errors and typos in comments Author: Daniel Gustafsson --- src/backend/jit/llvm/llvmjit.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/backend/jit/llvm/llvmjit.c') diff --git a/src/backend/jit/llvm/llvmjit.c b/src/backend/jit/llvm/llvmjit.c index 7510698f863..a543dd37110 100644 --- a/src/backend/jit/llvm/llvmjit.c +++ b/src/backend/jit/llvm/llvmjit.c @@ -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 . */ -- cgit v1.2.3