mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-27 13:30:05 +00:00
Make sure the value passed to test function is initialized.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33764 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
c33f674ca3
commit
3ca56169e7
@ -18,6 +18,7 @@ double %test(double* %DP, double %Arg) {
|
||||
|
||||
int %main() {
|
||||
%X = alloca double
|
||||
store double 0.0, double* %X
|
||||
call double %test(double* %X, double 2.0)
|
||||
ret int 0
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user