OSDN Git Service

Store precice set of which constructors require barriers
authorMathieu Chartier <mathieuc@google.com>
Thu, 7 Apr 2016 20:19:19 +0000 (13:19 -0700)
committerMathieu Chartier <mathieuc@google.com>
Fri, 8 Apr 2016 17:33:00 +0000 (10:33 -0700)
commitc4ae916def97b9e1ef6df35c8fabb3921a0e380c
tree9423d8a1df2ae043e2a9abb7a20977d849d1b7d6
parentb5d386118334fa5181c31b83b3fee6332537f4b7
Store precice set of which constructors require barriers

Fixes bugs where things in the boot image might not have been
calculated even though resolved_clases was true. This only occured
for app and test compiles though.

Fixes test 476-checker-ctor-memory-barrier which was failing due to
inlining something in the boot class path and getting a unexpected
barrier since the barrier defaults to enabled.

No measurable increase in RAM usage.

Bug: 28005874

Change-Id: I4a417819aa129c95f4a83c38df1a66eb77824ea9
compiler/driver/compiler_driver.cc
compiler/driver/compiler_driver.h
compiler/optimizing/instruction_builder.cc