Index: src/objects.cc |
diff --git a/src/objects.cc b/src/objects.cc |
index 00bd2c18bc6035777310a8252fa8b3f0e7ac178e..06cea50978d92ceaeb661e2e6ee7b316f93244d3 100644 |
--- a/src/objects.cc |
+++ b/src/objects.cc |
@@ -12373,9 +12373,6 @@ MaybeHandle<SharedFunctionInfo> Script::FindSharedFunctionInfo( |
if (fun->function_token_position() == shared->function_token_position() && |
fun->start_position() == shared->start_position() && |
fun->end_position() == shared->end_position()) { |
- // This method is not used to find top-level SharedFunctionInfo objects, |
- // verify that above checks are sufficient to distinguish top-level code. |
- DCHECK(!shared->is_toplevel()); |
return Handle<SharedFunctionInfo>(shared); |
} |
} |