Fixing logger initialization when codegen logging is disabled.

This commit is contained in:
Ben Vanik 2013-05-24 21:49:03 -07:00
parent ba718de434
commit 9883f32fb7
1 changed files with 2 additions and 3 deletions

View File

@ -53,9 +53,8 @@ DEFINE_bool(annotate_disassembly, true,
*/
X64Emitter::X64Emitter(xe_memory_ref memory) {
memory_ = memory;
X64Emitter::X64Emitter(xe_memory_ref memory) :
memory_(memory), logger_(NULL) {
// I don't like doing this, but there's no public access to these members.
assembler_._properties = compiler_._properties;