mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-21 00:32:23 +00:00
02ff308aa1
indicate functions that allocate, such as operator new, or list::insert. The actual definition is slightly less strict (for now). No changes to the bitcode reader/writer, asm printer or verifier were needed. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@59934 91177308-0d34-0410-b5e6-96231b3b80d8
7 lines
106 B
LLVM
7 lines
106 B
LLVM
; RUN: llvm-as < %s
|
|
|
|
define noalias i8* @_Znwj(i32 %x) nounwind {
|
|
%A = malloc i8, i32 %x
|
|
ret i8* %A
|
|
}
|