Chromium Code Reviews| Index: runtime/vm/compiler.cc |
| =================================================================== |
| --- runtime/vm/compiler.cc (revision 33281) |
| +++ runtime/vm/compiler.cc (working copy) |
| @@ -870,6 +870,7 @@ |
| if (!error.IsNull()) { |
| return error.raw(); |
| } |
| + func.ClearCode(); |
| } |
| } |
| // Inner functions get added to the closures array. As part of compilation |
| @@ -885,6 +886,7 @@ |
| if (!error.IsNull()) { |
| return error.raw(); |
| } |
| + func.ClearCode(); |
| } |
| } |
| } |