diff options
author | fche <fche> | 2006-02-25 21:05:46 +0000 |
---|---|---|
committer | fche <fche> | 2006-02-25 21:05:46 +0000 |
commit | 16c1c80843a7115253b5f2844c3cda9089a72232 (patch) | |
tree | f0810dcf56bd1be77698a1a2ffac5229f9c40ef7 /translate.h | |
parent | a78b2748049f260f365a3161d3aea0b8f9499a2d (diff) | |
download | systemtap-steved-16c1c80843a7115253b5f2844c3cda9089a72232.tar.gz systemtap-steved-16c1c80843a7115253b5f2844c3cda9089a72232.tar.xz systemtap-steved-16c1c80843a7115253b5f2844c3cda9089a72232.zip |
2006-02-25 Frank Ch. Eigler <fche@elastic.org>
* translate.cxx (var::init): Don't crush string module_params.
(emit_global_param): New function, forked out of emit_global,
to put module_param calls at the bottom of C file.
* translate.h: Corresponding changes.
Diffstat (limited to 'translate.h')
-rw-r--r-- | translate.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/translate.h b/translate.h index 1c6dc9f6..f756ee62 100644 --- a/translate.h +++ b/translate.h @@ -70,6 +70,9 @@ struct unparser // static TYPE global_NAME; // static rwlock_t global_NAME_lock; + virtual void emit_global_param (vardecl* v) = 0; + // module_param_... -- at end of file + virtual void emit_functionsig (functiondecl* v) = 0; // static void function_NAME (context* c); |