| Index: src/objects.cc
|
| diff --git a/src/objects.cc b/src/objects.cc
|
| index cb87c71fb1193c38953701a88ffac4e1f465d9cd..88a485e999a817b48d820e451eb1f4d635f04cb6 100644
|
| --- a/src/objects.cc
|
| +++ b/src/objects.cc
|
| @@ -7314,6 +7314,14 @@ void JSFunction::MarkForLazyRecompilation() {
|
| }
|
|
|
|
|
| +void JSFunction::RecompileInParallel() {
|
| + ASSERT(FLAG_optimize_in_parallel);
|
| + i::Handle<JSFunction> handle(reinterpret_cast<JSFunction **>(
|
| + GetIsolate()->global_handles()->Create(this).location()));
|
| + GetIsolate()->queue_for_optimization(handle);
|
| +}
|
| +
|
| +
|
| bool SharedFunctionInfo::EnsureCompiled(Handle<SharedFunctionInfo> shared,
|
| ClearExceptionFlag flag) {
|
| return shared->is_compiled() || CompileLazy(shared, flag);
|
|
|