Mercurial > lcfOS
diff python/libs/compiler/core/instruction.py @ 70:35286e8abd03
Added some llvm classes
author | windel |
---|---|
date | Mon, 29 Oct 2012 20:24:29 +0100 |
parents | |
children | 5351594349b0 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/python/libs/compiler/core/instruction.py Mon Oct 29 20:24:29 2012 +0100 @@ -0,0 +1,14 @@ + +class Instruction(Value): + pass + +class CallInstruction(Instruction): + pass + +class BinaryOperator(Instruction): + pass + +class LoadInstruction(Instruction): + def __init__(self, ptr, name, insertBefore): + self.setName(name) +