Index: src/compiler.cc |
diff --git a/src/compiler.cc b/src/compiler.cc |
index 393e30a95747afa87febdd1979ca78cdbf0a0185..7f5c5975a841fb17a68fff6579a62ac3c861e027 100644 |
--- a/src/compiler.cc |
+++ b/src/compiler.cc |
@@ -526,8 +526,6 @@ void InstallSharedCompilationResult(CompilationInfo* info, |
if (info->is_debug() && info->has_bytecode_array()) { |
shared->ClearBytecodeArray(); |
} |
- // Assert that we are not overwriting (possibly patched) debug code. |
- DCHECK(!shared->HasDebugInfo()); |
DCHECK(!info->code().is_null()); |
shared->ReplaceCode(*info->code()); |
if (info->has_bytecode_array()) { |