Chromium Code Reviews| Index: src/compiler.cc |
| diff --git a/src/compiler.cc b/src/compiler.cc |
| index 31ddc204bb576d6fa307a3649ba39a38d97fbc96..8b25a9d7277769d92dcfab9b754cd48611e77eba 100644 |
| --- a/src/compiler.cc |
| +++ b/src/compiler.cc |
| @@ -1170,6 +1170,7 @@ bool Compiler::CompileBaseline(Handle<JSFunction> function) { |
| // Install code on closure. |
| function->ReplaceCode(*code); |
| + JSFunction::EnsureLiterals(function); |
| // Check postconditions on success. |
| DCHECK(!isolate->has_pending_exception()); |