[llvm-commits] CVS: llvm/include/llvm/ExecutionEngine/GenericValue.h

Brian Gaeke gaeke at cs.uiuc.edu
Wed Feb 25 17:02:00 PST 2004


Changes in directory llvm/include/llvm/ExecutionEngine:

GenericValue.h updated: 1.4 -> 1.5

---
Log message:

Represent va_list in interpreter as a (ec-stack-depth . var-arg-index)
pair, and look up varargs in the execution stack every time, instead of
just pushing iterators (which can be invalidated during callFunction())
around.  (union GenericValue now has a "pair of uints" member, to support
this mechanism.) Fixes Bug 234.


---
Diffs of the changes:  (+1 -0)

Index: llvm/include/llvm/ExecutionEngine/GenericValue.h
diff -u llvm/include/llvm/ExecutionEngine/GenericValue.h:1.4 llvm/include/llvm/ExecutionEngine/GenericValue.h:1.5
--- llvm/include/llvm/ExecutionEngine/GenericValue.h:1.4	Thu Dec 11 23:06:09 2003
+++ llvm/include/llvm/ExecutionEngine/GenericValue.h	Wed Feb 25 17:01:46 2004
@@ -33,6 +33,7 @@
   int64_t         LongVal;
   double          DoubleVal;
   float           FloatVal;
+  struct { unsigned int first; unsigned int second; } UIntPairVal;
   PointerTy       PointerVal;
   unsigned char   Untyped[8];
 





More information about the llvm-commits mailing list