Chromium Code Reviews| Index: src/heap.cc |
| =================================================================== |
| --- src/heap.cc (revision 485) |
| +++ src/heap.cc (working copy) |
| @@ -1313,6 +1313,7 @@ |
| share->set_name(name); |
| Code* illegal = Builtins::builtin(Builtins::Illegal); |
| share->set_code(illegal); |
| + share->set_constructor(Builtins::builtin(Builtins::JSConstructCall)); |
| share->set_expected_nof_properties(0); |
| share->set_length(0); |
| share->set_formal_parameter_count(0); |