< prev index next >

src/hotspot/cpu/aarch64/register_aarch64.hpp

Print this page

        

@@ -134,11 +134,11 @@
   inline friend FloatRegister as_FloatRegister(int encoding);
 
   VMReg as_VMReg();
 
   // derived registers, offsets, and addresses
-  FloatRegister successor() const                          { return as_FloatRegister((encoding() + 1) % 32); }
+  FloatRegister successor() const                          { return as_FloatRegister(encoding() + 1); }
 
   // accessors
   int   encoding() const                          { assert(is_valid(), "invalid register"); return (intptr_t)this; }
   int   encoding_nocheck() const                         { return (intptr_t)this; }
   bool  is_valid() const                          { return 0 <= (intptr_t)this && (intptr_t)this < number_of_registers; }
< prev index next >