< prev index next >

src/hotspot/share/code/vmreg.cpp

Print this page
@@ -1,7 +1,7 @@
  /*
-  * Copyright (c) 1998, 2025, Oracle and/or its affiliates. All rights reserved.
+  * Copyright (c) 1998, 2026, Oracle and/or its affiliates. All rights reserved.
   * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
   *
   * This code is free software; you can redistribute it and/or modify it
   * under the terms of the GNU General Public License version 2 only, as
   * published by the Free Software Foundation.

@@ -52,5 +52,13 @@
  }
  
  VMRegImpl all_VMRegs[ConcreteRegisterImpl::number_of_registers + 1];
  
  void VMRegImpl::print() const { print_on(tty); }
+ 
+ void VMRegPair::print_on(outputStream* st) const {
+   st->print("(");
+   _first->print_on(st);
+   st->print(",");
+   _second->print_on(st);
+   st->print(")");
+ }
< prev index next >