view python/libs/compiler/core/instruction.py @ 80:d1925eb3bbd5

Added hierarchy first things
author windel
date Wed, 14 Nov 2012 18:09:32 +0100
parents 5351594349b0
children
line wrap: on
line source

from .value import Value

class Instruction(Value):
   pass

class CallInstruction(Instruction):
   pass

class BinaryOperator(Instruction):
   pass

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