|
From: | Jeff Darcy |
Subject: | Re: [Gluster-devel] glusterd crashes when synctask is used in conjunction with inner functions. |
Date: | Mon, 08 Oct 2012 14:26:29 -0400 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:15.0) Gecko/20120827 Thunderbird/15.0 |
On 10/08/2012 02:14 PM, Krishnan Parthasarathi wrote: >> int >> real_inner_function (void *outer_frame, int arg) >> { >> /* Same as user's function but with extra arg. */ >> } >> >> int >> inner_function (int arg) >> { >> real_inner_function(COMPILE_TIME_CONSTANT,arg); > > Shouldn't the outer frame's address be RUNTIME_CONSTANT? > >> } For dynamic code generation (even the degenerate sort that's involved in creating thunks and trampolines), compile time is run time. ;)
[Prev in Thread] | Current Thread | [Next in Thread] |