diff options
author | Roland Levillain <rpl@google.com> | 2017-02-10 14:15:33 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2017-02-10 14:15:34 +0000 |
commit | ffa5130425d582ecaa10b6f93bb5fa632fcd93af (patch) | |
tree | cbe451cded4fb1d404256fae6c74f6e057c7ea75 /compiler/optimizing/code_generator_arm.cc | |
parent | 1c66504e0613bdf02dd15e15cd7e5167a4569d19 (diff) | |
parent | d966ce7739bebbdce5481900a1b3220b31f3f3ad (diff) |
Merge "Use entrypoint switching on x86 & x86-64 for GC root read barriers."
Diffstat (limited to 'compiler/optimizing/code_generator_arm.cc')
-rw-r--r-- | compiler/optimizing/code_generator_arm.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/compiler/optimizing/code_generator_arm.cc b/compiler/optimizing/code_generator_arm.cc index 06e164fead..759a951d6b 100644 --- a/compiler/optimizing/code_generator_arm.cc +++ b/compiler/optimizing/code_generator_arm.cc @@ -646,6 +646,10 @@ class ArraySetSlowPathARM : public SlowPathCodeARM { // probably still be a from-space reference (unless it gets updated by // another thread, or if another thread installed another object // reference (different from `ref`) in `obj.field`). +// +// If `entrypoint` is a valid location it is assumed to already be +// holding the entrypoint. The case where the entrypoint is passed in +// is for the GcRoot read barrier. class ReadBarrierMarkSlowPathARM : public SlowPathCodeARM { public: ReadBarrierMarkSlowPathARM(HInstruction* instruction, |