Index: src/runtime/runtime-test.cc |
diff --git a/src/runtime/runtime-test.cc b/src/runtime/runtime-test.cc |
index 49959844bfd73ddb6c60a111292ce338550b0a76..0a7221344baebf3b6f8c57824aaf3446af301bda 100644 |
--- a/src/runtime/runtime-test.cc |
+++ b/src/runtime/runtime-test.cc |
@@ -75,7 +75,7 @@ RUNTIME_FUNCTION(Runtime_OptimizeFunctionOnNextCall) { |
*function, Code::kMaxLoopNestingMarker); |
} else if (type->IsOneByteEqualTo(STATIC_CHAR_VECTOR("concurrent")) && |
isolate->concurrent_recompilation_enabled()) { |
- function->MarkForConcurrentOptimization(); |
+ function->AttemptConcurrentOptimization(); |
} |
} |