| Index: src/objects.cc
|
| diff --git a/src/objects.cc b/src/objects.cc
|
| index 733a1f8208d63d8777fad4bcb4489e3f0e021f1a..c7d29ee7e009fdbda39da8402ebb8dd26b28355b 100644
|
| --- a/src/objects.cc
|
| +++ b/src/objects.cc
|
| @@ -8292,7 +8292,7 @@ void SharedFunctionInfo::EnableDeoptimizationSupport(Code* recompiled) {
|
| // old code, we have to replace it. We should try to avoid this
|
| // altogether because it flushes valuable type feedback by
|
| // effectively resetting all IC state.
|
| - set_code(recompiled);
|
| + ReplaceCode(recompiled);
|
| }
|
| ASSERT(has_deoptimization_support());
|
| }
|
|
|