Index: src/codegen.cc |
diff --git a/src/codegen.cc b/src/codegen.cc |
index 13ce2218df41d972fda1c2b715fd3c8fcce9722f..f6c36682de7f67bac9e96bdcb2f11f77c6773f87 100644 |
--- a/src/codegen.cc |
+++ b/src/codegen.cc |
@@ -165,6 +165,8 @@ void CodeGenerator::PrintCode(Handle<Code> code, CompilationInfo* info) { |
function->debug_name()->ToCString().get(), tracing_scope.file()); |
} |
PrintF(tracing_scope.file(), "--- Optimized code ---\n"); |
+ PrintF(tracing_scope.file(), |
+ "optimization_id = %d\n", info->optimization_id()); |
} else { |
PrintF(tracing_scope.file(), "--- Code ---\n"); |
} |