mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-20 00:20:11 +00:00
Push LLVMContexts through the IntegerType APIs.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78948 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -100,11 +100,11 @@ Module* makeLLVMModule() {
|
||||
|
||||
<div class="doc_code">
|
||||
<pre>
|
||||
BasicBlock* entry = BasicBlock::Create("entry", gcd);
|
||||
BasicBlock* ret = BasicBlock::Create("return", gcd);
|
||||
BasicBlock* cond_false = BasicBlock::Create("cond_false", gcd);
|
||||
BasicBlock* cond_true = BasicBlock::Create("cond_true", gcd);
|
||||
BasicBlock* cond_false_2 = BasicBlock::Create("cond_false", gcd);
|
||||
BasicBlock* entry = BasicBlock::Create(getGlobalContext(), ("entry", gcd);
|
||||
BasicBlock* ret = BasicBlock::Create(getGlobalContext(), ("return", gcd);
|
||||
BasicBlock* cond_false = BasicBlock::Create(getGlobalContext(), ("cond_false", gcd);
|
||||
BasicBlock* cond_true = BasicBlock::Create(getGlobalContext(), ("cond_true", gcd);
|
||||
BasicBlock* cond_false_2 = BasicBlock::Create(getGlobalContext(), ("cond_false", gcd);
|
||||
</pre>
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user