X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=compiler%2FllvmGen%2FLlvm%2FAbsSyn.hs;fp=compiler%2FllvmGen%2FLlvm%2FAbsSyn.hs;h=7a5b70048f7c390de015a4641c7cacce321f5297;hb=77e899c398432fbf7cf9a98737430c21ad8d7c94;hp=1fed3a88dd44921ee71c236707805769a551851d;hpb=12ec40c5c2b51e826477c557922297f105a41fdb;p=ghc-hetmet.git diff --git a/compiler/llvmGen/Llvm/AbsSyn.hs b/compiler/llvmGen/Llvm/AbsSyn.hs index 1fed3a8..7a5b700 100644 --- a/compiler/llvmGen/Llvm/AbsSyn.hs +++ b/compiler/llvmGen/Llvm/AbsSyn.hs @@ -171,12 +171,13 @@ data LlvmExpression {- | Navigate in an structure, selecting elements + * inbound: Is the pointer inbounds? (computed pointer doesn't overflow) * ptr: Location of the structure * indexes: A list of indexes to select the correct value. For example the first element of the third element of the structure ptr is selected with [3,1] (zero indexed) -} - | GetElemPtr LlvmVar [Int] + | GetElemPtr Bool LlvmVar [Int] {- | Cast the variable from to the to type. This is an abstraction of three