Lines Matching defs:script
792 if (!func.shared().script().IsScript()) return;
793 Script script = Script::cast(func.shared().script());
794 int scriptId = script.id();
797 script.GetPositionInfo(start, &info, Script::WITH_OFFSET);
1448 void V8HeapExplorer::ExtractScriptReferences(HeapEntry* entry, Script script) {
1449 SetInternalReference(entry, "source", script.source(), Script::kSourceOffset);
1450 SetInternalReference(entry, "name", script.name(), Script::kNameOffset);
1451 SetInternalReference(entry, "context_data", script.context_data(),
1453 TagObject(script.line_ends(), "(script line ends)", HeapEntry::kCode);
1454 SetInternalReference(entry, "line_ends", script.line_ends(),
1456 TagObject(script.shared_function_infos(), "(shared function infos)",
1458 TagObject(script.host_defined_options(), "(host-defined options)",
3055 // The cast is safe because script id is a non-negative Smi.