Index: src/disasm-ia32.cc |
=================================================================== |
--- src/disasm-ia32.cc (revision 661) |
+++ src/disasm-ia32.cc (working copy) |
@@ -1095,11 +1095,6 @@ |
//------------------------------------------------------------------------------ |
-static NameConverter defaultConverter; |
- |
-Disassembler::Disassembler() : converter_(defaultConverter) {} |
- |
- |
Disassembler::Disassembler(const NameConverter& converter) |
: converter_(converter) {} |
@@ -1119,7 +1114,8 @@ |
/*static*/ void Disassembler::Disassemble(FILE* f, byte* begin, byte* end) { |
- Disassembler d; |
+ NameConverter converter; |
+ Disassembler d(converter); |
for (byte* pc = begin; pc < end;) { |
v8::internal::EmbeddedVector<char, 128> buffer; |
buffer[0] = '\0'; |