mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 03:51:18 +00:00
Fix bugs relating to optional interface addr-of #2244.
This commit is contained in:
@@ -2372,8 +2372,8 @@ static inline void llvm_emit_post_inc_dec(GenContext *c, BEValue *value, Expr *e
|
||||
static void llvm_emit_dynamic_method_addr(GenContext *c, BEValue *value, Expr *expr)
|
||||
{
|
||||
llvm_emit_expr(c, value, expr->access_resolved_expr.parent);
|
||||
llvm_emit_type_from_any(c, value);
|
||||
llvm_value_rvalue(c, value);
|
||||
llvm_emit_type_from_any(c, value);
|
||||
LLVMValueRef introspect = LLVMBuildIntToPtr(c->builder, value->value, c->ptr_type, "");
|
||||
|
||||
Decl *dyn_fn = expr->access_resolved_expr.ref;
|
||||
|
||||
Reference in New Issue
Block a user