aboutsummaryrefslogtreecommitdiff
path: root/fib_eqI_b.ll
diff options
context:
space:
mode:
authorCamil Staps2021-01-08 09:31:50 +0100
committerCamil Staps2021-01-08 09:31:50 +0100
commitc1713f3ee00eb507ea25f83390467f86a58674d9 (patch)
tree400cb44b139d6cd3f3878d214db9f4c7ad95a9cc /fib_eqI_b.ll
parentAdd version of nfib without strictness analysis (diff)
Use malloc to allocate heap and stack
Diffstat (limited to 'fib_eqI_b.ll')
-rw-r--r--fib_eqI_b.ll4
1 files changed, 2 insertions, 2 deletions
diff --git a/fib_eqI_b.ll b/fib_eqI_b.ll
index 58be88a..12a3c95 100644
--- a/fib_eqI_b.ll
+++ b/fib_eqI_b.ll
@@ -133,8 +133,8 @@ case.3:
}
define i64 @main() {
- %hp.0 = bitcast [100000000 x i64]* @heap to i64*
- %astack = bitcast [10000 x i64*]* @astack to i64**
+ %hp.0 = call i64* @_alloc_heap(i64 10000)
+ %astack = call i64** @_alloc_a_stack(i64 10000)
%n.0 = getelementptr i64, i64* %hp.0
%INT.0 = ptrtoint {i64, i64, i64*, i64, i8, i8, i8}* @INT to i64