src/hotspot/cpu/aarch64/gc/shared/barrierSetAssembler_aarch64.cpp
changeset 50024 7238cb613dc5
parent 49929 f38329fe8055
child 50110 3d98842c8677
--- a/src/hotspot/cpu/aarch64/gc/shared/barrierSetAssembler_aarch64.cpp	Sat May 05 22:19:19 2018 +0200
+++ b/src/hotspot/cpu/aarch64/gc/shared/barrierSetAssembler_aarch64.cpp	Sun May 06 00:42:59 2018 +0200
@@ -30,6 +30,9 @@
 
 void BarrierSetAssembler::load_at(MacroAssembler* masm, DecoratorSet decorators, BasicType type,
                                   Register dst, Address src, Register tmp1, Register tmp_thread) {
+
+  // LR is live.  It must be saved around calls.
+
   bool on_heap = (decorators & IN_HEAP) != 0;
   bool on_root = (decorators & IN_ROOT) != 0;
   switch (type) {