| Index: src/objects.cc
|
| diff --git a/src/objects.cc b/src/objects.cc
|
| index 027506f433c53c404fed51ee818ddbb100df09eb..f329c274dc643592bf8621ce4c2a3e2be03d6648 100644
|
| --- a/src/objects.cc
|
| +++ b/src/objects.cc
|
| @@ -9892,7 +9892,7 @@ void SharedFunctionInfo::DisableOptimization(BailoutReason reason) {
|
| if (code()->kind() == Code::FUNCTION) {
|
| code()->set_optimizable(false);
|
| }
|
| - PROFILE(Isolate::Current(),
|
| + PROFILE(GetIsolate(),
|
| LogExistingFunction(Handle<SharedFunctionInfo>(this),
|
| Handle<Code>(code())));
|
| if (FLAG_trace_opt) {
|
|
|