From 9f9cdfb33ba030ff07e6e3a350a5e23fbcd8feda Mon Sep 17 00:00:00 2001 From: e5l Date: Mon, 18 Jul 2016 17:26:36 +0300 Subject: [PATCH] translator: fix memory allocation --- car_llvmkot/kotlib/memory.ll | 62 +++++++++++++++++++++--------------- 1 file changed, 36 insertions(+), 26 deletions(-) diff --git a/car_llvmkot/kotlib/memory.ll b/car_llvmkot/kotlib/memory.ll index 7ec7ad50c57..0c043d1e97b 100644 --- a/car_llvmkot/kotlib/memory.ll +++ b/car_llvmkot/kotlib/memory.ll @@ -27,23 +27,25 @@ define i8* @malloc_static(i32 %size) #0 { ;