view python/libs/compiler/core/value.py @ 70:35286e8abd03

Added some llvm classes
author windel
date Mon, 29 Oct 2012 20:24:29 +0100
parents
children
line wrap: on
line source


class Value:
   def __init__(self, vty):
      self.valueType = ty
      self.name = None
   def getContext(self):
      return self.valueType.context

   def setName(self, name):
      if not self.name and not name:
         return
      self.name = name

      if self.st:
         pass
      else:
         pass