Chromium Code Reviews| Index: src/compiler.cc |
| diff --git a/src/compiler.cc b/src/compiler.cc |
| index ee8f72bc0af7e73e6b2f32b8d39c589e6364679f..dc8468f2b41d7ca56d210a7747b8323d226f6476 100644 |
| --- a/src/compiler.cc |
| +++ b/src/compiler.cc |
| @@ -512,11 +512,6 @@ OptimizedCompileJob::Status OptimizedCompileJob::CreateGraph() { |
| return AbortOptimization(kTooManyParametersLocals); |
| } |
| - if (scope->HasIllegalRedeclaration()) { |
| - // Crankshaft cannot handle illegal redeclarations. |
| - return AbortOptimization(kFunctionWithIllegalRedeclaration); |
| - } |
| - |
| if (FLAG_trace_opt) { |
| OFStream os(stdout); |
| os << "[compiling method " << Brief(*info()->closure()) |