Fix issue #124
This commit is contained in:
1 parent
56f7a859df
commit
57b97ad0bd
1 file changed
+1
-1
+1
-1
@@ -5457,7 +5457,7 @@ irAddr ir_build_addr(irProcedure *proc, AstNode *expr) {
|
||||
Type *type = base_type(ir_type(base));
|
||||
|
||||
if (is_type_pointer(type)) {
|
||||
type = type_deref(type);
|
||||
type = base_type(type_deref(type));
|
||||
addr = base;
|
||||
base = ir_emit_load(proc, base);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user