aboutsummaryrefslogtreecommitdiff
path: root/src/ssa.cpp
diff options
context:
space:
mode:
authorGinger Bill <bill@gingerbill.org>2017-07-18 18:58:41 +0100
committerGinger Bill <bill@gingerbill.org>2017-07-18 18:58:41 +0100
commit65f079ebc474f9decc7afb222630c04b4da32690 (patch)
tree789058f2ed95b8cf4433445f169435af1cc6707c /src/ssa.cpp
parentd16aa794921efd3c8e752645f3e5f922abc3aee8 (diff)
Remove `atomic`, `++`, and `--`
Diffstat (limited to 'src/ssa.cpp')
-rw-r--r--src/ssa.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ssa.cpp b/src/ssa.cpp
index 248999e39..03810e354 100644
--- a/src/ssa.cpp
+++ b/src/ssa.cpp
@@ -1956,6 +1956,7 @@ void ssa_build_stmt_internal(ssaProc *p, AstNode *node) {
ssa_build_when_stmt(p, ws);
case_end;
+ #if 0
case_ast_node(s, IncDecStmt, node);
TokenKind op = Token_Add;
if (s->op.kind == Token_Dec) {
@@ -1965,6 +1966,7 @@ void ssa_build_stmt_internal(ssaProc *p, AstNode *node) {
Type *t = ssa_addr_type(addr);
ssa_build_assign_op(p, addr, ssa_const_int(p, t, 1), op);
case_end;
+ #endif
case_ast_node(as, AssignStmt, node);
ssa_emit_comment(p, str_lit("AssignStmt"));