Changes in directory llvm/examples/ParallelJIT:
ParallelJIT.cpp updated: 1.10 -> 1.11 --- Log message: Adjust for changes in GenericValue type. --- Diffs of the changes: (+2 -2) ParallelJIT.cpp | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) Index: llvm/examples/ParallelJIT/ParallelJIT.cpp diff -u llvm/examples/ParallelJIT/ParallelJIT.cpp:1.10 llvm/examples/ParallelJIT/ParallelJIT.cpp:1.11 --- llvm/examples/ParallelJIT/ParallelJIT.cpp:1.10 Fri Jan 19 16:45:50 2007 +++ llvm/examples/ParallelJIT/ParallelJIT.cpp Tue Mar 6 11:24:31 2007 @@ -221,12 +221,12 @@ // 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() _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits