From fb0882b5e3622b762812f4ffe4688c7a344a02cd Mon Sep 17 00:00:00 2001 From: Nathanael Sensfelder Date: Mon, 24 Jul 2017 10:46:47 +0200 Subject: Working on function calls and literals predicates. --- ast-to-instr/src/VHDLSSASNode.java | 18 +----------------- 1 file changed, 1 insertion(+), 17 deletions(-) (limited to 'ast-to-instr/src/VHDLSSASNode.java') diff --git a/ast-to-instr/src/VHDLSSASNode.java b/ast-to-instr/src/VHDLSSASNode.java index 76d56af..c67c3f2 100644 --- a/ast-to-instr/src/VHDLSSASNode.java +++ b/ast-to-instr/src/VHDLSSASNode.java @@ -178,23 +178,7 @@ public class VHDLSSASNode extends VHDLNode for (int i = 0; i < sources_count; ++i) { - final String ref; - - ref = XMLManager.get_attribute(sources.item(0), "ref"); - - if (!Main.node_is_function_or_literal(ref)) - { - Predicates.add_entry - ( - output, - "expr_reads", - local_id, - Waveforms.get_associated_waveform_id - ( - IDs.get_id_from_xml_id(ref, (String) null) - ) - ); - } + handle_expression("expr_reads", local_id, sources.item(0)); } } -- cgit v1.2.3-70-g09d2