From 8d064806a11949f98d9bbe7adf7b336b920eafec Mon Sep 17 00:00:00 2001 From: "Travis E. Oliphant" Date: Thu, 28 Jun 2012 14:59:43 -0500 Subject: [PATCH] BUG: Add ConstantDataArray and ConstantD --- llvm/core.py | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/llvm/core.py b/llvm/core.py index afd28bd..0992dde 100644 --- a/llvm/core.py +++ b/llvm/core.py @@ -1099,6 +1099,13 @@ class ConstantAggregateZero(Constant): pass +class ConstantDataArray(Constant): + pass + + +class ConstantDataVector(Constant): + pass + class ConstantInt(Constant): pass @@ -1484,6 +1491,8 @@ __class_for_valueid = { VALUE_UNDEF_VALUE : UndefValue, VALUE_CONSTANT_EXPR : ConstantExpr, VALUE_CONSTANT_AGGREGATE_ZERO : ConstantAggregateZero, + VALUE_CONSTANT_DATA_ARRAY : ConstantDataArray, + VALUE_CONSTANT_DATA_VECTOR : ConstantDataVector, VALUE_CONSTANT_INT : ConstantInt, VALUE_CONSTANT_FP : ConstantFP, VALUE_CONSTANT_ARRAY : ConstantArray,