view python/ppci/core/instruction.py @ 103:28a35161ef23

Added forgotten ir generator
author windel
date Wed, 26 Dec 2012 10:53:33 +0100
parents 6efbeb903777
children ed230e947dc6
line wrap: on
line source


from .value import Value

class Instruction(Value):
   """
      Base class for all instructions.
   """
   pass

class CallInstruction(Instruction):
   pass

class BinaryOperator(Instruction):
   pass

class LoadInstruction(Instruction):
   def __init__(self, ptr, name, insertBefore):
      self.setName(name)