Index: src/objects.cc |
diff --git a/src/objects.cc b/src/objects.cc |
index 10e45b510b734fe951f995e8792482d97caded3c..ae69d811ec1bace6ed2dba0bbe73a5d494b79217 100644 |
--- a/src/objects.cc |
+++ b/src/objects.cc |
@@ -9602,7 +9602,6 @@ void JSFunction::JSFunctionIterateBody(int object_size, ObjectVisitor* v) { |
void JSFunction::MarkForOptimization() { |
Isolate* isolate = GetIsolate(); |
- DCHECK(isolate->use_crankshaft()); |
DCHECK(!IsOptimized()); |
DCHECK(shared()->allows_lazy_compilation() || code()->optimizable()); |
set_code_no_write_barrier( |
@@ -9626,7 +9625,6 @@ void JSFunction::AttemptConcurrentOptimization() { |
// recompilation race. This goes away as soon as OSR becomes one-shot. |
return; |
} |
- DCHECK(isolate->use_crankshaft()); |
DCHECK(!IsInOptimizationQueue()); |
DCHECK(is_compiled() || isolate->debug()->has_break_points()); |
DCHECK(!IsOptimized()); |