Chromium Code Reviews| Index: src/objects.cc |
| diff --git a/src/objects.cc b/src/objects.cc |
| index b7928af19361db20e754f564a6dfe7f02c1dc49f..7d39e7eb0d9679fe906d6510ab85e488f5edc862 100644 |
| --- a/src/objects.cc |
| +++ b/src/objects.cc |
| @@ -10687,9 +10687,7 @@ void SharedFunctionInfo::DisableOptimization(BailoutReason reason) { |
| if (code()->kind() == Code::FUNCTION) { |
| code()->set_optimizable(false); |
| } |
| - PROFILE(GetIsolate(), |
| - LogExistingFunction(Handle<SharedFunctionInfo>(this), |
| - Handle<Code>(code()))); |
| + PROFILE(GetIsolate(), CodeDeoptEvent(code(), this)); |
|
loislo
2014/05/20 08:14:05
I'd say that the event named incorrectly.
It is no
alph
2014/05/21 13:55:32
Done.
|
| if (FLAG_trace_opt) { |
| PrintF("[disabled optimization for "); |
| ShortPrint(); |