lib/metasm/metasm/main.rb
# share self.unique_labels_cache with other, checks for conflicts, returns self
share self.unique_labels_cache with other, checks for conflicts, returns self
share self . unique_labels_cache with other checks for conflicts returns self
def share_namespace(other)
		return self if other.unique_labels_cache.equal? @unique_labels_cache
		raise "share_ns #{(other.unique_labels_cache.keys & @unique_labels_cache.keys).inspect}" if !(other.unique_labels_cache.keys & @unique_labels_cache.keys).empty?
		@unique_labels_cache.update other.unique_labels_cache
		other.unique_labels_cache = @unique_labels_cache
		self
	end
def share_namespace ( other ) return self if other . unique_labels_cache . equal? @unique_labels_cache raise "share_ns #{(other.unique_labels_cache.keys & @unique_labels_cache.keys).inspect}" if ! ( other . unique_labels_cache . keys & @unique_labels_cache . keys ) . empty? @unique_labels_cache . update other . unique_labels_cache other . unique_labels_cache = @unique_labels_cache self end
share self.unique_labels_cache with other, checks for conflicts, returns self
share self . unique_labels_cache with other checks for conflicts returns self
other