Merge "Add ArtUseReadBarrier to ProductVariables."
This commit is contained in:
commit
6e2557fa88
2 changed files with 6 additions and 0 deletions
|
@ -435,6 +435,10 @@ func (c *config) LibartImgDeviceBaseAddress() string {
|
|||
}
|
||||
}
|
||||
|
||||
func (c *config) ArtUseReadBarrier() bool {
|
||||
return Bool(c.ProductVariables.ArtUseReadBarrier)
|
||||
}
|
||||
|
||||
func (c *deviceConfig) Arches() []Arch {
|
||||
var arches []Arch
|
||||
for _, target := range c.config.Targets[Device] {
|
||||
|
|
|
@ -136,6 +136,8 @@ type productVariables struct {
|
|||
SanitizeHost []string `json:",omitempty"`
|
||||
SanitizeDevice []string `json:",omitempty"`
|
||||
SanitizeDeviceArch []string `json:",omitempty"`
|
||||
|
||||
ArtUseReadBarrier *bool `json:",omitempty"`
|
||||
}
|
||||
|
||||
func boolPtr(v bool) *bool {
|
||||
|
|
Loading…
Reference in a new issue