Index: src/runtime/runtime-test.cc |
diff --git a/src/runtime/runtime-test.cc b/src/runtime/runtime-test.cc |
index b4b90e2c5824463d548bc2816333caee7f8314f0..a66e7665daa98cd4cbb1c555d75c8ca28000c30a 100644 |
--- a/src/runtime/runtime-test.cc |
+++ b/src/runtime/runtime-test.cc |
@@ -53,9 +53,8 @@ RUNTIME_FUNCTION(Runtime_OptimizeFunctionOnNextCall) { |
HandleScope scope(isolate); |
RUNTIME_ASSERT(args.length() == 1 || args.length() == 2); |
CONVERT_ARG_HANDLE_CHECKED(JSFunction, function, 0); |
- // The following two assertions are lifted from the DCHECKs inside |
+ // The following assertion was lifted from the DCHECK inside |
// JSFunction::MarkForOptimization(). |
- RUNTIME_ASSERT(!function->shared()->is_generator()); |
RUNTIME_ASSERT(function->shared()->allows_lazy_compilation() || |
(function->code()->kind() == Code::FUNCTION && |
function->code()->optimizable())); |