aboutsummaryrefslogtreecommitdiff
path: root/src/comp/lib
diff options
context:
space:
mode:
Diffstat (limited to 'src/comp/lib')
-rw-r--r--src/comp/lib/llvm.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/comp/lib/llvm.rs b/src/comp/lib/llvm.rs
index 9a31a193..f0c4428c 100644
--- a/src/comp/lib/llvm.rs
+++ b/src/comp/lib/llvm.rs
@@ -25,6 +25,10 @@ type LongLong = i64;
type Long = i32;
type Bool = int;
+fn True() -> Bool { ret 1; }
+fn False() -> Bool { ret 0; }
+
+
native mod llvm = llvm_lib {
type ModuleRef;