summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/X86/X86CallingConv.h
diff options
context:
space:
mode:
authorJustin Bogner <mail@justinbogner.com>2016-02-24 07:58:02 +0000
committerJustin Bogner <mail@justinbogner.com>2016-02-24 07:58:02 +0000
commit38e5217b1e6ce543fcc3c15c1ee463c5e78fa81f (patch)
tree992ec2c6c9bc2357437e3508e25dd14c585f9c32 /llvm/lib/Target/X86/X86CallingConv.h
parent28bb3d9046fb93bc062a6d0bc514d757e0e352bd (diff)
downloadbcm5719-llvm-38e5217b1e6ce543fcc3c15c1ee463c5e78fa81f.tar.gz
bcm5719-llvm-38e5217b1e6ce543fcc3c15c1ee463c5e78fa81f.zip
X86: Wrap a helper for an assert in #ifndef NDEBUG
This function is used in exactly one place, and only in asserts builds. Move it a few lines up before the use and only define it when asserts are enabled. Fixes the release build under -Werror. Also remove the forward declaration and commentary that was basically identical to the code itself. llvm-svn: 261722
Diffstat (limited to 'llvm/lib/Target/X86/X86CallingConv.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud