diff options
author | Brian Paul <[email protected]> | 2016-04-25 15:56:08 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2016-04-27 10:23:19 -0600 |
commit | e522a76226acfcf786457ce4472294d9e36adc94 (patch) | |
tree | 2539b4fe0800aa793d705d9d13668daa4e1ab044 /src/gallium/auxiliary/gallivm/lp_bld_assert.c | |
parent | 489df4a71aca99b2eebc62c02215a5860def944d (diff) |
gallivm: s/Elements/ARRAY_SIZE/
Reviewed-by: Jose Fonseca <[email protected]>
Diffstat (limited to 'src/gallium/auxiliary/gallivm/lp_bld_assert.c')
-rw-r--r-- | src/gallium/auxiliary/gallivm/lp_bld_assert.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/auxiliary/gallivm/lp_bld_assert.c b/src/gallium/auxiliary/gallivm/lp_bld_assert.c index 37c142bd2ae..02755765c0e 100644 --- a/src/gallium/auxiliary/gallivm/lp_bld_assert.c +++ b/src/gallium/auxiliary/gallivm/lp_bld_assert.c @@ -77,7 +77,7 @@ lp_build_assert(struct gallivm_state *gallivm, function = lp_build_const_func_pointer(gallivm, func_to_pointer((func_pointer)lp_assert), - ret_type, arg_types, Elements(arg_types), + ret_type, arg_types, ARRAY_SIZE(arg_types), "assert"); /* build function call param list */ @@ -88,5 +88,5 @@ lp_build_assert(struct gallivm_state *gallivm, assert(LLVMTypeOf(args[0]) == arg_types[0]); assert(LLVMTypeOf(args[1]) == arg_types[1]); - LLVMBuildCall(builder, function, args, Elements(args), ""); + LLVMBuildCall(builder, function, args, ARRAY_SIZE(args), ""); } |