This commit is contained in:
parent
ec300c9a70
commit
89f375f4fc
8 changed files with 234 additions and 0 deletions
30
src/ssa/Type.go
Normal file
30
src/ssa/Type.go
Normal file
|
@ -0,0 +1,30 @@
|
|||
package ssa
|
||||
|
||||
type Type byte
|
||||
|
||||
const (
|
||||
None Type = iota
|
||||
|
||||
// Values
|
||||
Int
|
||||
Float
|
||||
String
|
||||
|
||||
// Binary
|
||||
Add
|
||||
Sub
|
||||
Mul
|
||||
Div
|
||||
Mod
|
||||
|
||||
// Bitwise
|
||||
And
|
||||
Or
|
||||
Xor
|
||||
Shl
|
||||
Shr
|
||||
|
||||
// Special
|
||||
Call
|
||||
Phi
|
||||
)
|
Loading…
Add table
Add a link
Reference in a new issue