Index: src/codegen.cc |
diff --git a/src/codegen.cc b/src/codegen.cc |
index 0998685a9f3c6b9d559c0f1bb34db6ceadb29597..627e8362e67c551641174d7b161d45b27bb7761d 100644 |
--- a/src/codegen.cc |
+++ b/src/codegen.cc |
@@ -180,9 +180,7 @@ void CodeGenerator::PrintCode(Handle<Code> code, CompilationInfo* info) { |
Handle<Script> script = info->script(); |
if (!script->IsUndefined() && !script->source()->IsUndefined()) { |
os << "--- Raw source ---\n"; |
- ConsStringIteratorOp op; |
StringCharacterStream stream(String::cast(script->source()), |
- &op, |
function->start_position()); |
// fun->end_position() points to the last character in the stream. We |
// need to compensate by adding one to calculate the length. |