Merge "Change RRO enforcement logic"
This commit is contained in:
commit
fdc9afa15b
1 changed files with 1 additions and 1 deletions
|
@ -800,7 +800,7 @@ func (c *config) ArtUseReadBarrier() bool {
|
||||||
func (c *config) EnforceRROForModule(name string) bool {
|
func (c *config) EnforceRROForModule(name string) bool {
|
||||||
enforceList := c.productVariables.EnforceRROTargets
|
enforceList := c.productVariables.EnforceRROTargets
|
||||||
if enforceList != nil {
|
if enforceList != nil {
|
||||||
if len(enforceList) == 1 && (enforceList)[0] == "*" {
|
if InList("*", enforceList) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
return InList(name, enforceList)
|
return InList(name, enforceList)
|
||||||
|
|
Loading…
Reference in a new issue