summaryrefslogtreecommitdiff
path: root/src/mesa/pipe/llvm/instructions.cpp
diff options
context:
space:
mode:
authorZack Rusin <zack@tungstengraphics.com>2007-10-25 12:14:07 -0400
committerZack Rusin <zack@tungstengraphics.com>2007-10-26 14:59:38 -0400
commit61d998c966d10e7a44b06d378c54b5f21ad69b53 (patch)
tree443b8b5b299fa567fb8dd42941b2ef4fc5a52c95 /src/mesa/pipe/llvm/instructions.cpp
parente4f6f0ec02133e9297c3f2db787dee14bf0ae6e1 (diff)
Make ret part of the instruction block instead of implicitely
closing at the end of parsing.
Diffstat (limited to 'src/mesa/pipe/llvm/instructions.cpp')
-rw-r--r--src/mesa/pipe/llvm/instructions.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mesa/pipe/llvm/instructions.cpp b/src/mesa/pipe/llvm/instructions.cpp
index 5b54af8717..3fca522324 100644
--- a/src/mesa/pipe/llvm/instructions.cpp
+++ b/src/mesa/pipe/llvm/instructions.cpp
@@ -1080,3 +1080,8 @@ llvm::Value * Instructions::trunc(llvm::Value *in)
return vectorFromVals(fx, fy, fz, fw);
}
+void Instructions::end()
+{
+ new ReturnInst(m_block);
+}
+