Fix access tag check
This commit is contained in:
		
							parent
							
								
									c778ab9622
								
							
						
					
					
						commit
						6166d946f7
					
				| @ -132,7 +132,7 @@ end | ||||
| function node_function (node, result) | ||||
|   -- parse access and barrier tags | ||||
|   local access = Access.find_access_tag(node, access_tags_hierachy) | ||||
|   if access ~= "" then | ||||
|   if access and access ~= "" then | ||||
|     if access_tag_blacklist[access] then | ||||
|       result.barrier = true | ||||
|     end | ||||
|  | ||||
| @ -190,7 +190,7 @@ end | ||||
| function node_function (node, result) | ||||
|   -- parse access and barrier tags | ||||
|   local access = find_access_tag(node, access_tags_hierachy) | ||||
|   if access ~= "" then | ||||
|   if access and access ~= "" then | ||||
|     if access_tag_blacklist[access] then | ||||
|       result.barrier = true | ||||
|     end | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user