Esempio n. 1
0
	def atIDGCall(self,node):

		#First generate any ERs that are output from this call
		#TODO: Use a better method of checking that a node is an ER node
		output_er_specs=[out_node.data for out_node in node.uses.values() if 'er_spec_'==out_node._prefix]
		for output_er_spec in output_er_specs:
			self.stmts.extend(gen_output_er_spec(output_er_spec,True,self.mapir))

		#Generate the call
		self.stmts.extend(gen_call(node.data))
Esempio n. 2
0
	def atIDGGenOutputERSpec(self,node): self.stmts.extend(gen_output_er_spec(node.data,False,self.mapir))

	def atIDGGenDataDep(self,node): self.stmts.extend(gen_data_dep(node.data,self.mapir))