Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8144748

Move assembler/macroAssembler inline function definitions to corresponding inline.hpp files

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 9
    • None
    • hotspot
    • None
    • b103
    • sparc

      There is a large number of inline functions in the assembler_sparc.hpp and and macroAssembler_sparc.hpp files. In some cases the implementations call other inline functions which are defined in the inline.hpp files, meaning if the normal header file is included there will be a use without definition. While this seems to be working with Solaris Studio right now it is generating compiler errors with gcc.

      In general, inline functions (apart from truly trivial ones) should be implemented in the corresponding inline.hpp file.

            mikael Mikael Vidstedt
            mikael Mikael Vidstedt
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: