Lines Matching defs:result
89 ScriptCompiler::CachedData* result =
95 return result;
354 Handle<SharedFunctionInfo> result,
363 CreateInterpreterDataForDeserializedCode(isolate, result,
370 Handle<Script> script(Script::cast(result->script()), isolate);
380 result->StartPosition(), result->EndPosition(), *name));
412 Handle<Script> script(Script::cast(result->script()), isolate);
452 Handle<SharedFunctionInfo> result;
453 if (!maybe_result.ToHandle(&result)) {
465 FinalizeDeserialization(isolate, result, timer);
467 return scope.CloseAndEscape(result);
473 OffThreadDeserializeData result;
479 cached_data, &result.sanity_check_result);
480 if (result.sanity_check_result != SerializedCodeSanityCheckResult::kSuccess) {
484 return result;
489 local_isolate, &scd, &result.scripts);
491 result.maybe_result =
493 result.persistent_handles = local_isolate->heap()->DetachPersistentHandles();
495 return result;
509 // holds the result of the off-thread sanity check.
517 // The only case where the deserialization result could exist despite a
535 Handle<SharedFunctionInfo> result;
536 if (!data.maybe_result.ToHandle(&result)) {
544 // Change the result persistent handle into a regular handle.
545 DCHECK(data.persistent_handles->Contains(result.location()));
546 result = handle(*result, isolate);
552 DCHECK_EQ(result->script(), *data.scripts[0]);
553 DCHECK_EQ(Script::cast(result->script()).source(),
555 Script::cast(result->script()).set_source(*source);
573 FinalizeDeserialization(isolate, result, timer);
575 return scope.CloseAndEscape(result);
586 // Allocate backing store and create result data.
612 SerializedCodeSanityCheckResult result = SanityCheckWithoutSource();
613 if (result != SerializedCodeSanityCheckResult::kSuccess) return result;
671 AlignedCachedData* result = new AlignedCachedData(data_, size_);
672 result->AcquireDataOwnership();
675 return result;
720 // the cached data, so re-use the previous rejection result if it's not a