From a44a0785c9869062b431573678237c5a646a71a7 Mon Sep 17 00:00:00 2001 From: fche Date: Thu, 25 May 2006 02:03:01 +0000 Subject: 2006-05-24 Frank Ch. Eigler Pass 4 speedup. * tapsets.cxx (derived_probe::emit_common_header): New function, to emit code formerly inlined by emit_probe_prologue/epilogue. * translate.cxx (emit_common_header): Call it. * elaborate.h: Corresponding changes. --- elaborate.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'elaborate.h') diff --git a/elaborate.h b/elaborate.h index 426b8ee2..689c35af 100644 --- a/elaborate.h +++ b/elaborate.h @@ -140,6 +140,10 @@ struct derived_probe: public probe protected: void emit_probe_prologue (translator_output* o, const std::string&); void emit_probe_epilogue (translator_output* o); + +public: + static void emit_common_header (translator_output* o); + // from c_unparser::emit_common_header }; // ------------------------------------------------------------------------ -- cgit