initialized globals
Stone, Joshua I
joshua.i.stone@intel.com
Wed Sep 6 18:38:00 GMT 2006
On Wednesday, September 06, 2006 8:18 AM, Frank Ch. Eigler wrote:
> Hi -
>
> The "global" declaration syntax now permits compact initialization of
> variables. This should be useful for tapsets that transcribe macro
> values en masse:
>
> global MASK_1 = 1, MASK_2 = 2
>
> It only accepts numeric or string literals on the right hand side.
>
> - FChE
Nice!
The next steps I see for this:
* Allow global constants -- no need for read locks, and enables
optimizations like value propagation.
* Allow importing macro values as global constants -- avoid errors in
"transcribing".
Josh
More information about the Systemtap
mailing list