summaryrefslogtreecommitdiffhomepage
path: root/ir/be/beasm.c
diff options
context:
space:
mode:
authorChristoph Mallon <christoph.mallon@gmx.de>2018-04-29 23:17:41 +0200
committerChristoph Mallon <christoph.mallon@gmx.de>2018-04-29 23:17:41 +0200
commitc1ac363a0c309c3411c19e891460e0d9aa4f32f8 (patch)
treed7c3ebb00b00cdec1896d6e986222f540cc28125 /ir/be/beasm.c
parent73770b11ae32668935ef7725992ae9fccefbfa18 (diff)
be: Remove case for empty asm constraint.
A constraint is never empty.
Diffstat (limited to 'ir/be/beasm.c')
-rw-r--r--ir/be/beasm.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/ir/be/beasm.c b/ir/be/beasm.c
index 4bed154..55b30bb 100644
--- a/ir/be/beasm.c
+++ b/ir/be/beasm.c
@@ -64,10 +64,6 @@ void be_parse_asm_constraints_internal(be_asm_constraint_t *const constraint, id
constraint->same_as = -1;
char const *i = get_id_str(constraint_text);
- /* a memory constraint: no need to do anything in backend about it
- * (dependencies are already respected by the memory edge of the node) */
- if (*i == '\0')
- return;
/* TODO: improve error messages with node and source info. (As users can
* easily hit these) */