| Index: src/compiler.cc
|
| diff --git a/src/compiler.cc b/src/compiler.cc
|
| index 3d6805d88fbdc9f2b027940806328b8169fb2a8f..fac34b211fc7c2c32e2fadc27f6ccbd4b1cb5e09 100644
|
| --- a/src/compiler.cc
|
| +++ b/src/compiler.cc
|
| @@ -511,11 +511,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())
|
|
|