[llvm-commits] [llvm] r153166 - in /llvm/trunk: lib/Target/X86/MCTargetDesc/X86MCCodeEmitter.cpp test/MC/X86/address-size.s

Chandler Carruth chandlerc at google.com
Wed Mar 21 04:52:22 PDT 2012


On Tue, Mar 20, 2012 at 10:48 PM, Joerg Sonnenberger <joerg at bec.de> wrote:

> +static bool Is64BitMemOperand(const MCInst &MI, unsigned Op) {
>

This function (and maybe the 16-bit variant as well) is only used in a
debug build (inside of 'assert(...)'). Please wrap it in #ifndef NDEBUG to
avoid unused function warnings in release builds.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20120321/03de7baf/attachment.html>


More information about the llvm-commits mailing list