Index: src/objects.cc |
diff --git a/src/objects.cc b/src/objects.cc |
index 5da24af979b199529b41a4702d92c1632938d4d5..9d20f6c503a68917fc94a134d0191ccc311aa969 100644 |
--- a/src/objects.cc |
+++ b/src/objects.cc |
@@ -7380,7 +7380,6 @@ void JSFunction::MarkForLazyRecompilation() { |
ASSERT(is_compiled() && !IsOptimized()); |
ASSERT(shared()->allows_lazy_compilation() || |
code()->optimizable()); |
- ASSERT(!shared()->optimization_disabled()); |
Builtins* builtins = GetIsolate()->builtins(); |
ReplaceCode(builtins->builtin(Builtins::kLazyRecompile)); |
} |