mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-09-27 16:17:17 +00:00
Adjust for changes in GenericValue type.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34969 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -221,12 +221,12 @@ void* callFunc( void* param )
|
||||
|
||||
// Call the `foo' function with no arguments:
|
||||
std::vector<GenericValue> Args(1);
|
||||
Args[0].Int32Val = p->value;
|
||||
Args[0].IntVal = APInt(32, p->value);
|
||||
|
||||
synchronize.block(); // wait until other threads are at this point
|
||||
GenericValue gv = p->EE->runFunction(p->F, Args);
|
||||
|
||||
return (void*) intptr_t(gv.Int32Val);
|
||||
return (void*)(intptr_t)gv.IntVal.getZExtValue();
|
||||
}
|
||||
|
||||
int main()
|
||||
|
Reference in New Issue
Block a user