src/cpu/ppc/vm/assembler_ppc.hpp

Print this page

        

@@ -1123,19 +1123,14 @@
   inline void emit_data(int, relocInfo::relocType rtype);
 
   // Emit an address.
   inline address emit_addr(const address addr = NULL);
 
-#if !defined(ABI_ELFv2)
-  // Emit a function descriptor with the specified entry point, TOC,
-  // and ENV. If the entry point is NULL, the descriptor will point
-  // just past the descriptor.
-  // Use values from friend functions as defaults.
-  inline address emit_fd(address entry = NULL,
-                         address toc = (address) FunctionDescriptor::friend_toc,
-                         address env = (address) FunctionDescriptor::friend_env);
-#endif
+  // Emit a function descriptor.
+  // If we are running in a little-endian environment (i.e. if ABI_ELFv2 is
+  // defined) this function will emit no code and simply return the current PC)
+  inline address emit_fd();
 
   /////////////////////////////////////////////////////////////////////////////////////
   // PPC instructions
   /////////////////////////////////////////////////////////////////////////////////////