gallivm: Change getExtent and readByte to non-const with llvm-3.1.
authorVinson Lee <vlee@freedesktop.org>
Thu, 9 Feb 2012 05:45:27 +0000 (21:45 -0800)
committerVinson Lee <vlee@freedesktop.org>
Sat, 11 Feb 2012 07:24:48 +0000 (23:24 -0800)
commitd5a6c172547d8964f4d4bb79637651decaf9deee
tree03a31175812d5c3dfed5002fb016140ecfc0c529
parent3340b47c2280346ba2f44dde44466f09d898b9d8
gallivm: Change getExtent and readByte to non-const with llvm-3.1.

Fix build with llvm-3.1svn.

llvm-3.1svn r149918 changed BufferMemoryObject::getExtent and
BufferMemoryObject::readByte from const member functions to non-const
member functions in include/llvm/Support/MemoryObject.h.

Signed-off-by: Vinson Lee <vlee@freedesktop.org>
Reviewed-by: José Fonseca <jfonseca@vmware.com>
src/gallium/auxiliary/gallivm/lp_bld_debug.cpp