Migrate to LLVM 2.8 (rc2)
git-svn-id: http://llvm-py.googlecode.com/svn/trunk@96 8d1e9007-1d4e-0410-b67e-1979fd6579aa
This commit is contained in:
parent
7df2fc911a
commit
ab4ef428b6
12 changed files with 940 additions and 832 deletions
|
|
@ -36,7 +36,7 @@ def test_jit_ctypes():
|
|||
|
||||
bb = mult.append_basic_block("entry")
|
||||
builder = Builder.new(bb)
|
||||
tmp = builder.mul( mult.args[0], mult.args[1] )
|
||||
tmp = builder.fmul( mult.args[0], mult.args[1] )
|
||||
builder.store( tmp, mult.args[2] )
|
||||
builder.ret(llvm.core.Constant.int(ty_errcode, 0))
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue