OSDN Git Service

Fix broken tests.
authorAart Bik <ajcbik@google.com>
Mon, 20 Jul 2015 21:08:59 +0000 (14:08 -0700)
committerAart Bik <ajcbik@google.com>
Tue, 21 Jul 2015 00:09:24 +0000 (17:09 -0700)
commit34c3ba93e74d14ab832297ff590cb76c3f0f519d
treec78f14c5971546b7f216b42b0d26f2a536867ddb
parente07300b712f44397ecbfed1ef7f880686e46274a
Fix broken tests.

Rationale:
  (1) volatile field write/read need to apply to all
      to comply with Java memory model
  (2) clinit only needs only the write
  (3) added conservative assumptions to memory barrier
      (nothing broke, but this seems better)

Change-Id: I37787ec8f3f2c8d6166a94c57193fa4544ad3372
compiler/optimizing/nodes.h
compiler/optimizing/side_effects_test.cc