<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
  </head>
  <body bgcolor="#ffffff" text="#000000">
    <font face="Linux Libertine O">Hallo!<br>
      <br>
      I use a custom calling convention in which the first 4 arguments
      are promoted to registers and the rest to the stack, and the
      callee is responsible for popping the stack arguments.<br>
      <br>
      So when calling a function with 5 arguments  i get this code:<br>
      <br>
          movq    ARG_5, (%rsp)<br>
          callq    fun_foo_1<br>
      .Ltmp4:<br>
          subq    $8, %rsp<br>
      <br>
      I use a garbage collector with postcall safe points (.Ltmp4 is
      such) which needs to know the frame size, for<br>
      each safe point. The problem is that at .Ltmp4  the frame size is
      actually different from what getFrameSize() would return.<br>
      <br>
      So is there a way to force generation of code which pushes
      arguments ?<br>
      <br>
      For example : <br>
      <br>
      pushq ARG_5<br>
      callq fun_foo_1<br>
          .Ltmp4<br>
      <br>
      Thnks,<br>
      Chris Stavrakakis<br>
    </font>
  </body>
</html>