| Index: src/compiler/code-generator.cc
|
| diff --git a/src/compiler/code-generator.cc b/src/compiler/code-generator.cc
|
| index f22c479780fb1a02ab0eb2108e63ba95ffd1b71f..6b8d7f022b69cbfb188e57175a6991c4a51ae085 100644
|
| --- a/src/compiler/code-generator.cc
|
| +++ b/src/compiler/code-generator.cc
|
| @@ -107,7 +107,7 @@ void CodeGenerator::AssembleInstruction(Instruction* instr) {
|
| if (FLAG_code_comments) {
|
| // TODO(titzer): these code comments are a giant memory leak.
|
| Vector<char> buffer = Vector<char>::New(32);
|
| - SNPrintF(buffer, "-- B%d start --", block_start->block()->id());
|
| + SNPrintF(buffer, "-- B%d start --", block_start->block()->id().ToInt());
|
| masm()->RecordComment(buffer.start());
|
| }
|
| masm()->bind(block_start->label());
|
|
|