about summary refs log tree commit diff
path: root/src/rt/rust_kernel.cpp
diff options
context:
space:
mode:
authorBjörn Steinbrink <bsteinbr@gmail.com>2013-07-21 15:33:40 +0200
committerBjörn Steinbrink <bsteinbr@gmail.com>2013-07-21 16:43:06 +0200
commit565a9bf20b726c5182a6c4c816c1d9a4108c778a (patch)
tree448c6a99b3cc447c2ef2e45ec5b1616f8eb42778 /src/rt/rust_kernel.cpp
parent3cccdbd9ccccd8768caea7cdf03e88a4f26ea301 (diff)
downloadrust-565a9bf20b726c5182a6c4c816c1d9a4108c778a.tar.gz
rust-565a9bf20b726c5182a6c4c816c1d9a4108c778a.zip
Provide lower level access to the LLVM IR builder
Currently, the helper functions in the "build" module can only append
at the end of a block. For certain things we'll want to be able to
insert code at arbitrary locations inside a block though. Although can
we do that by directly calling the LLVM functions, that is rather ugly
and means that somethings need to be implemented twice. Once in terms
of the helper functions and once in terms of low level LLVM functions.

Instead of doing that, we should provide a Builder type that provides
low level access to the builder, and which can be used by both, the
helper functions in the "build" module, as well larger units of
abstractions that combine several LLVM instructions.
Diffstat (limited to 'src/rt/rust_kernel.cpp')
0 files changed, 0 insertions, 0 deletions