Index: src/runtime/runtime-test.cc |
diff --git a/src/runtime/runtime-test.cc b/src/runtime/runtime-test.cc |
index 4fe438bf95bf8d93cea38ebd5e08c4b5f338f843..c153137d1aad89671be21132bb9d2dfd2d74da07 100644 |
--- a/src/runtime/runtime-test.cc |
+++ b/src/runtime/runtime-test.cc |
@@ -280,6 +280,11 @@ RUNTIME_FUNCTION(Runtime_OptimizeFunctionOnNextCall) { |
if (function->IsOptimized()) return isolate->heap()->undefined_value(); |
function->MarkForOptimization(); |
+ if (FLAG_trace_opt) { |
+ PrintF("[manually marking "); |
+ function->ShortPrint(); |
+ PrintF(" for optimization]\n"); |
+ } |
if (args.length() == 2) { |
CONVERT_ARG_HANDLE_CHECKED(String, type, 1); |