aboutsummaryrefslogtreecommitdiff
path: root/src/check_builtin.cpp
diff options
context:
space:
mode:
authorjakubtomsu <66876057+jakubtomsu@users.noreply.github.com>2023-10-25 17:33:27 +0200
committerjakubtomsu <66876057+jakubtomsu@users.noreply.github.com>2023-10-25 17:33:27 +0200
commit2f8d60ec47b32206172839c2d96b66cb872985be (patch)
tree2a248e16266d2477131effcac1ff288ffd964078 /src/check_builtin.cpp
parent37e33af34265104f54cb1626edce8537470f132f (diff)
Fix indentation
Diffstat (limited to 'src/check_builtin.cpp')
-rw-r--r--src/check_builtin.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/check_builtin.cpp b/src/check_builtin.cpp
index a26ac4baa..7cadf49a0 100644
--- a/src/check_builtin.cpp
+++ b/src/check_builtin.cpp
@@ -1781,11 +1781,11 @@ gb_internal bool check_builtin_procedure(CheckerContext *c, Operand *operand, As
value = exact_value_i64(bt->SimdVector.count);
type = t_untyped_integer;
} else if (is_type_union(op_type)) {
- Type *u = base_type(op_type);
+ Type *u = base_type(op_type);
mode = Addressing_Constant;
value = exact_value_i64(u->Union.variants.count);
type = t_untyped_integer;
- }
+ }
if (operand->mode == Addressing_Type && mode != Addressing_Constant) {
mode = Addressing_Invalid;
}