gallivm: Only build lp_profile() body when PROFILE is defined
authorTom Stellard <thomas.stellard@amd.com>
Wed, 27 May 2015 23:51:43 +0000 (16:51 -0700)
committerTom Stellard <thomas.stellard@amd.com>
Sat, 13 Jun 2015 04:02:00 +0000 (21:02 -0700)
commit3e7412233739c882548f50fe01d9f6c5f0dd4bbb
tree64cde675f4525545d15405b0ea7d332324cf9c50
parentfaf7670ee86253cb7bf9422bf7937a0a63f4956f
gallivm: Only build lp_profile() body when PROFILE is defined

The only use of lp_profile() is wrapped in #if defined(PROFILE),
so there is no reason to build it unless this macro is defined.

Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
src/gallium/auxiliary/gallivm/lp_bld_debug.cpp