annotate python/libs/compiler/core/instruction.py @ 71:5351594349b0

Moved error to core
author windel
date Fri, 02 Nov 2012 14:05:00 +0100
parents 35286e8abd03
children
rev   line source
71
5351594349b0 Moved error to core
windel
parents: 70
diff changeset
1 from .value import Value
70
35286e8abd03 Added some llvm classes
windel
parents:
diff changeset
2
35286e8abd03 Added some llvm classes
windel
parents:
diff changeset
3 class Instruction(Value):
35286e8abd03 Added some llvm classes
windel
parents:
diff changeset
4 pass
35286e8abd03 Added some llvm classes
windel
parents:
diff changeset
5
35286e8abd03 Added some llvm classes
windel
parents:
diff changeset
6 class CallInstruction(Instruction):
35286e8abd03 Added some llvm classes
windel
parents:
diff changeset
7 pass
35286e8abd03 Added some llvm classes
windel
parents:
diff changeset
8
35286e8abd03 Added some llvm classes
windel
parents:
diff changeset
9 class BinaryOperator(Instruction):
35286e8abd03 Added some llvm classes
windel
parents:
diff changeset
10 pass
35286e8abd03 Added some llvm classes
windel
parents:
diff changeset
11
35286e8abd03 Added some llvm classes
windel
parents:
diff changeset
12 class LoadInstruction(Instruction):
35286e8abd03 Added some llvm classes
windel
parents:
diff changeset
13 def __init__(self, ptr, name, insertBefore):
35286e8abd03 Added some llvm classes
windel
parents:
diff changeset
14 self.setName(name)
35286e8abd03 Added some llvm classes
windel
parents:
diff changeset
15