summaryrefslogtreecommitdiff
path: root/compiler/optimizing/code_generator_arm.cc
diff options
context:
space:
mode:
authorRoland Levillain <rpl@google.com>2017-02-10 14:15:33 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2017-02-10 14:15:34 +0000
commitffa5130425d582ecaa10b6f93bb5fa632fcd93af (patch)
treecbe451cded4fb1d404256fae6c74f6e057c7ea75 /compiler/optimizing/code_generator_arm.cc
parent1c66504e0613bdf02dd15e15cd7e5167a4569d19 (diff)
parentd966ce7739bebbdce5481900a1b3220b31f3f3ad (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.cc4
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,