mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 12:01:16 +00:00
Remove debug printout.
This commit is contained in:
@@ -476,7 +476,6 @@ void llvm_emit_and_set_decl_alloca(GenContext *c, Decl *decl)
|
||||
void llvm_emit_local_var_alloca(GenContext *c, Decl *decl)
|
||||
{
|
||||
assert(!decl->var.is_static);
|
||||
printf("My name %s\n", decl->name);
|
||||
llvm_emit_and_set_decl_alloca(c, decl);
|
||||
if (llvm_use_debug(c))
|
||||
{
|
||||
|
||||
@@ -2494,7 +2494,7 @@ void llvm_emit_parameter(GenContext *c, LLVMValueRef **args, ABIArgInfo *info, B
|
||||
case ABI_ARG_DIRECT_PAIR:
|
||||
{
|
||||
llvm_value_addr(c, be_value);
|
||||
printf("Handle invalid alignment");
|
||||
printf("TODO: Handle invalid alignment\n");
|
||||
// Here we do the following transform:
|
||||
// struct -> { lo, hi } -> lo, hi
|
||||
LLVMTypeRef lo = llvm_abi_type(c, info->direct_pair.lo);
|
||||
|
||||
@@ -814,10 +814,6 @@ Decl *parse_decl(Context *context)
|
||||
}
|
||||
decl->var.failable = failable;
|
||||
decl->var.is_static = is_static;
|
||||
if (is_static)
|
||||
{
|
||||
printf("Added static to %s %d\n", decl->name, decl->var.is_static);
|
||||
}
|
||||
return decl;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user