summaryrefslogtreecommitdiffhomepage
path: root/flowgraph
diff options
context:
space:
mode:
authorRoland Reichwein <mail@reichwein.it>2020-11-09 16:41:07 +0100
committerRoland Reichwein <mail@reichwein.it>2020-11-09 16:41:07 +0100
commitfe063834e53e856823b9a42ad3a5e04153446849 (patch)
tree6ea84c1274e52bf5a07d7fcb8dbb64ceb6fc7a47 /flowgraph
parentfc1461874a6bcecc919f650d1bfb6bf37161c413 (diff)
Support multiply (WIP)
Diffstat (limited to 'flowgraph')
-rw-r--r--flowgraph/node.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/flowgraph/node.h b/flowgraph/node.h
index d4a1306..9ae5479 100644
--- a/flowgraph/node.h
+++ b/flowgraph/node.h
@@ -63,7 +63,7 @@ namespace FlowGraph {
{}
};
- enum class JumpVariant
+ enum class JumpVariant: int
{
Unconditional,
GT,
@@ -110,7 +110,8 @@ namespace FlowGraph {
{}
};
- enum class UnaryOperationType {
+ enum class UnaryOperationType: int
+ {
Increment,
Decrement,
Negate
@@ -128,7 +129,8 @@ namespace FlowGraph {
UnaryOperationType m_type;
};
- enum class BinaryOperationType {
+ enum class BinaryOperationType: int
+ {
Add,
Subtract,
Multiply,