| Index: src/compiler.cc
|
| diff --git a/src/compiler.cc b/src/compiler.cc
|
| index 06f3dc19d4ec351c7b5b8de84de9ebe639a022d0..5976cf0794a1a2a308323c715c732c7aec167fe9 100644
|
| --- a/src/compiler.cc
|
| +++ b/src/compiler.cc
|
| @@ -1243,9 +1243,7 @@ Handle<SharedFunctionInfo> Compiler::CompileScript(
|
| result = CompileToplevel(&info);
|
| if (extension == NULL && !result.is_null() && !result->dont_cache()) {
|
| compilation_cache->PutScript(source, context, result);
|
| - // TODO(dslomov): Issue 3628.
|
| - // Reenable when harmony scoping serialization issues are fixed.
|
| - if (FLAG_serialize_toplevel && !FLAG_harmony_scoping &&
|
| + if (FLAG_serialize_toplevel &&
|
| compile_options == ScriptCompiler::kProduceCodeCache) {
|
| HistogramTimerScope histogram_timer(
|
| isolate->counters()->compile_serialize());
|
|
|