Index: src/compiler/instruction.cc |
diff --git a/src/compiler/instruction.cc b/src/compiler/instruction.cc |
index 7ab6d921bac553180983cc935330025edb6035db..2ee98fa0fd665e735ce06a9fc2c0a5e9bb98f580 100644 |
--- a/src/compiler/instruction.cc |
+++ b/src/compiler/instruction.cc |
@@ -450,7 +450,7 @@ OStream& operator<<(OStream& os, const InstructionSequence& code) { |
os << "\n"; |
} |
- Vector<char> buf = Vector<char>::New(32); |
+ ScopedVector<char> buf(32); |
for (int j = block->first_instruction_index(); |
j <= block->last_instruction_index(); j++) { |
// TODO(svenpanne) Add some basic formatting to our streams. |