Lines Matching defs:script

135   explicit WeakScriptHandle(Handle<Script> script) : script_id_(script->id()) {
136 DCHECK(script->name().IsString() || script->name().IsUndefined());
137 if (script->name().IsString()) {
139 String::cast(script->name()).ToCString();
144 script->GetIsolate()->global_handles()->Create(*script);
170 // Store the script ID independent of the weak handle, such that it's always
382 // Maps script ID to vector of code objects that still need to be logged, and
526 Handle<Script> script) {
532 isolate, std::move(native_module), script, export_wrappers);
572 Handle<Script> script =
575 native_module->LogWasmCodes(isolate, *script);
582 isolate, std::move(native_module), script, export_wrappers);
584 // Finish the Wasm script now and make it public to the debugger.
585 isolate->debug()->OnAfterCompile(script);
777 Handle<Script> script =
779 script->set_compilation_state(Script::COMPILATION_STATE_COMPILED);
780 script->set_context_data(isolate->native_context()->debug_context_id());
781 script->set_type(Script::TYPE_WASM);
785 // The source URL of the script is
831 script->set_name(*url_str);
840 script->set_source_mapping_url(*src_map_str.ToHandleChecked());
852 script->set_wasm_managed_native_module(*managed_native_module);
853 script->set_wasm_breakpoint_infos(ReadOnlyRoots(isolate).empty_fixed_array());
854 script->set_wasm_weak_instance_list(
856 return script;
865 Handle<Script> script =
870 isolate, std::move(shared_native_module), script, export_wrappers);
879 // Finish the Wasm script now and make it public to the debugger.
880 isolate->debug()->OnAfterCompile(script);
1113 // If the script does not yet exist, logging will happen later. If the weak
1497 auto script = CreateWasmScript(isolate, native_module, source_url);
1503 scripts.emplace(native_module.get(), WeakScriptHandle(script));
1504 return script;