summaryrefslogtreecommitdiffstats
path: root/lldb/tools/debugserver/source/debugserver.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-11-18 02:15:42 +0000
committerChris Lattner <sabre@nondot.org>2010-11-18 02:15:42 +0000
commit8930615e780ff5dbba952ced757c0720a8042f2f (patch)
treeaf221749afb875db19002f9c9c3c7ec807cd4e94 /lldb/tools/debugserver/source/debugserver.cpp
parent67c6ab88653289579cca588adbac1ccf05dd7f64 (diff)
downloadbcm5719-llvm-8930615e780ff5dbba952ced757c0720a8042f2f.tar.gz
bcm5719-llvm-8930615e780ff5dbba952ced757c0720a8042f2f.zip
patch from Frits van Bommel:
The attached patch fixes IRBuilder and the NoFolder class so that when NoFolder is used the instructions it generates are treated just like the ones IRBuilder creates directly (insert into block, assign them a name and debug info, as applicable). It does this by 1) having NoFolder return Instruction*s instead of Value*s, 2) having IRBuilder call Insert(Value, Name) on values obtained from the folder like it does on instructions it creates directly, and 3) adding an Insert(Constant*, const Twine& = "") overload which just returns the constant so that the other folders shouldn't have any extra overhead as long as inlining is enabled. While I was there, I also added some missing (CreateFNeg and various Create*Cast) methods to NoFolder. llvm-svn: 119614
Diffstat (limited to 'lldb/tools/debugserver/source/debugserver.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud