mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-07 14:33:15 +00:00
It looks like this has been broken for some time -
get it to compile. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@44791 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
afc6de0015
commit
22ad1d72cd
@ -246,14 +246,14 @@ GenericValue lle_X_drand48(FunctionType *FT, const vector<GenericValue> &Args) {
|
||||
GenericValue lle_X_lrand48(FunctionType *FT, const vector<GenericValue> &Args) {
|
||||
assert(Args.size() == 0);
|
||||
GenericValue GV;
|
||||
GV.Int32Val = lrand48();
|
||||
GV.IntVal = APInt(32, lrand48());
|
||||
return GV;
|
||||
}
|
||||
|
||||
// void srand48(long)
|
||||
GenericValue lle_X_srand48(FunctionType *FT, const vector<GenericValue> &Args) {
|
||||
assert(Args.size() == 1);
|
||||
srand48(Args[0].Int32Val);
|
||||
srand48(Args[0].IntVal.getZExtValue());
|
||||
return GenericValue();
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user