Bug 557706 - Allow LogControl printf method to be overridden (r=nnethercote,edwsmith)

Issues with prior patch not compiling with tamarin due to missing vtable,
so make sure printf isn't available unless verbose is enabled.

--HG--
extra : convert_revision : 147e02ce8790c9e09f4c91b29b1bcc5d16862ee1
This commit is contained in:
Rick Reitmaier 2010-04-12 11:51:00 -07:00
parent 3a4a3d6046
commit 4634603bd4

View File

@ -260,7 +260,10 @@ namespace nanojit {
public:
// All Nanojit and jstracer printing should be routed through
// this function.
virtual ~LogControl() {}
#ifdef NJ_VERBOSE
virtual void printf( const char* format, ... ) PRINTF_CHECK(2,3);
#endif
// An OR of LC_Bits values, indicating what should be output
uint32_t lcbits;