diff options
author | Camil Staps | 2021-01-08 09:31:50 +0100 |
---|---|---|
committer | Camil Staps | 2021-01-08 09:31:50 +0100 |
commit | c1713f3ee00eb507ea25f83390467f86a58674d9 (patch) | |
tree | 400cb44b139d6cd3f3878d214db9f4c7ad95a9cc /fib_ltI.ll | |
parent | Add version of nfib without strictness analysis (diff) |
Use malloc to allocate heap and stack
Diffstat (limited to 'fib_ltI.ll')
-rw-r--r-- | fib_ltI.ll | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -57,8 +57,8 @@ define private i64 @_s2(i64 %arg, i64** %globasp) { } define i64 @main() { - %heap = bitcast [100000000 x i64]* @heap to i64* - %astack = bitcast [10000 x i64*]* @astack to i64** + %heap = call i64* @_alloc_heap(i64 10000) + %astack = call i64** @_alloc_a_stack(i64 10000) %r = call i64 @_s2(i64 43, i64** %astack) |