]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - opencl/llvm.git/commit
Change the prototype for MCContext::FatalError() so it can be called
authorKevin Enderby <enderby@apple.com>
Tue, 22 Apr 2014 21:42:18 +0000 (21:42 +0000)
committerKevin Enderby <enderby@apple.com>
Tue, 22 Apr 2014 21:42:18 +0000 (21:42 +0000)
commitfaf363ff839daa4fe1e5aadef540ba2091828952
treebc00a8a8634351b090580856fd51b658213a1a9f
parent0eb05e272ae10bc8c5530740914e1fb9e9052db1
Change the prototype for MCContext::FatalError() so it can be called
from places like MCCodeEmitter() in the MC backend when the
MCContext is const.

I was going to use this in my change for r206669 but Jim convinced
me to use an assert there. But this still is a good tweak.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@206923 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/MC/MCContext.h
lib/MC/MCContext.cpp