intel/compiler: Nest definition of live variables block_data structures
authorFrancisco Jerez <currojerez@riseup.net>
Thu, 10 Mar 2016 00:56:29 +0000 (16:56 -0800)
committerMatt Turner <mattst88@gmail.com>
Fri, 6 Mar 2020 18:20:23 +0000 (10:20 -0800)
commit06c5c4964621268f2dedd63a614ff89f4307057b
tree8eb5d25688d223dcca5a8bc533d01d8f8c67be6f
parent310aef6b590d3d129b285ff8c50565af8cebacbc
intel/compiler: Nest definition of live variables block_data structures

When this commit was originally written, these two structures had the
exact same name. Subsequently in commit 12a8f2616a2f (intel/compiler:
Fix C++ one definition rule violations) they were renamed.

Original commit message:

> These two structures have exactly the same name which prevents the two
> files from being included at the same time and could cause serious
> trouble in the future if it ever leads to a (silent) violation of the
> C++ one definition rule.

Reviewed-by: Matt Turner <mattst88@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4012>
src/intel/compiler/brw_fs_live_variables.cpp
src/intel/compiler/brw_fs_live_variables.h
src/intel/compiler/brw_vec4_live_variables.cpp
src/intel/compiler/brw_vec4_live_variables.h