aboutsummaryrefslogtreecommitdiff
path: root/nfib.ll
diff options
context:
space:
mode:
Diffstat (limited to 'nfib.ll')
-rw-r--r--nfib.ll4
1 files changed, 2 insertions, 2 deletions
diff --git a/nfib.ll b/nfib.ll
index ccec313..dcae8f0 100644
--- a/nfib.ll
+++ b/nfib.ll
@@ -63,8 +63,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 1000)
+ %astack = call i64** @_alloc_a_stack(i64 1000)
%r = call i64 @_s2(i64 43, i64** %astack)