From 2747168dd74b9ae40bee4361b7422aa56448a4f6 Mon Sep 17 00:00:00 2001 From: Andrea Shepard <andrea@special-circumstanc.es> Date: Sat, 16 Nov 2019 01:20:36 +0000 Subject: [PATCH] LLVM labels consistent with other parsers in bits.c --- src/parsers/bits.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/parsers/bits.c b/src/parsers/bits.c index 336585a7..c04f06eb 100644 --- a/src/parsers/bits.c +++ b/src/parsers/bits.c @@ -35,7 +35,7 @@ static bool bits_llvm(HLLVMParserCompileContext *ctxt, HAllocator *mm__ = NULL; /* Names */ H_LLVM_DECLARE_NAME(bits_bb); - H_LLVM_DECLARE_NAME(read_bits); + H_LLVM_DECLARE_NAME(bits_read); /* Basic blocks */ LLVMBasicBlockRef bits_bb; /* Arguments for call to h_read_bits() */ @@ -78,10 +78,10 @@ static bool bits_llvm(HLLVMParserCompileContext *ctxt, * i32 env_->length, * i8 signext env_->signedp) */ - H_LLVM_COMPUTE_NAME(read_bits, p); + H_LLVM_COMPUTE_NAME(bits_read, p); bits = LLVMBuildCall(ctxt->builder, LLVMGetNamedFunction(ctxt->mod, "h_read_bits"), - bits_args, 3, read_bits_name); + bits_args, 3, bits_read_name); /* Make an HParseResult out of it */ h_llvm_make_tt_suint(ctxt, env->length, env->signedp, bits, &mr); @@ -90,7 +90,7 @@ static bool bits_llvm(HLLVMParserCompileContext *ctxt, *res = mr; H_LLVM_FREE_NAME(bits_bb); - H_LLVM_FREE_NAME(read_bits); + H_LLVM_FREE_NAME(bits_read); return true; } -- GitLab