Home
last modified time | relevance | path

Searched refs:maybe_script (Results 1 - 8 of 8) sorted by relevance

/third_party/node/deps/v8/src/runtime/
H A Druntime-module.cc19 HeapObject maybe_script = origin_script.eval_from_shared().script(); in GetEvalOrigin() local
20 CHECK(maybe_script.IsScript()); in GetEvalOrigin()
21 origin_script = Script::cast(maybe_script); in GetEvalOrigin()
/third_party/node/deps/v8/src/objects/
H A Dshared-function-info-inl.h860 HeapObject maybe_script = script_or_debug_info(cage_base, kAcquireLoad); in DEF_GETTER() local
861 if (maybe_script.IsDebugInfo(cage_base)) { in DEF_GETTER()
862 return DebugInfo::cast(maybe_script).script(); in DEF_GETTER()
864 return maybe_script; in DEF_GETTER()
H A Djs-locale.cc287 Maybe<bool> maybe_script =
290 MAYBE_RETURN(maybe_script, Nothing<bool>());
292 if (maybe_script.FromJust()) {
/third_party/node/deps/v8/src/debug/
H A Ddebug-interface.cc976 i::Object maybe_script = obj->function().shared().script(); in Script() local
977 if (!maybe_script.IsScript()) return {}; in Script()
978 i::Handle<i::Script> script(i::Script::cast(maybe_script), obj->GetIsolate()); in Script()
990 i::Object maybe_script = obj->function().shared().script(); in SuspendedLocation() local
991 if (!maybe_script.IsScript()) return Location(); in SuspendedLocation()
993 i::Handle<i::Script> script(i::Script::cast(maybe_script), isolate); in SuspendedLocation()
/third_party/node/deps/v8/src/execution/
H A Dframes.cc1400 Object maybe_script = shared.script(); in PrintFunctionAndOffset() local
1401 if (maybe_script.IsScript()) { in PrintFunctionAndOffset()
1402 Script script = Script::cast(maybe_script); in PrintFunctionAndOffset()
1475 Object maybe_script = shared.script(); in CollectFunctionAndOffsetForICStats() local
1476 if (maybe_script.IsScript()) { in CollectFunctionAndOffsetForICStats()
1477 Script script = Script::cast(maybe_script); in CollectFunctionAndOffsetForICStats()
H A Disolate.cc1300 Object maybe_script = frame->function().shared().script(); in GetAbstractPC() local
1301 if (maybe_script.IsScript()) { in GetAbstractPC()
1302 Handle<Script> script(Script::cast(maybe_script), this); in GetAbstractPC()
/third_party/node/src/
H A Djs_native_api_v8.cc1645 auto maybe_script = v8::ScriptCompiler::Compile(context, &scriptSource, option); in OH_JSVM_CompileScript() local
1655 CHECK_MAYBE_EMPTY(env, maybe_script, JSVM_GENERIC_FAILURE); in OH_JSVM_CompileScript()
1656 v8::Local<v8::Script> compiled_script = maybe_script.ToLocalChecked(); in OH_JSVM_CompileScript()
1753 auto maybe_script = v8::ScriptCompiler::Compile(context, &scriptSource, option); in OH_JSVM_CompileScriptWithOrigin() local
1763 CHECK_MAYBE_EMPTY(env, maybe_script, JSVM_GENERIC_FAILURE); in OH_JSVM_CompileScriptWithOrigin()
1764 v8::Local<v8::Script> compiled_script = maybe_script.ToLocalChecked(); in OH_JSVM_CompileScriptWithOrigin()
1862 auto maybe_script = v8::ScriptCompiler::Compile(context, &scriptSource, optionResolver.v8Option); in OH_JSVM_CompileScriptWithOptions() local
1864 CHECK_MAYBE_EMPTY(env, maybe_script, JSVM_GENERIC_FAILURE); in OH_JSVM_CompileScriptWithOptions()
1865 v8::Local<v8::Script> compiled_script = maybe_script.ToLocalChecked(); in OH_JSVM_CompileScriptWithOptions()
/third_party/node/deps/v8/src/api/
H A Dapi.cc2131 i::Handle<i::HeapObject> maybe_script = in Run() local
2133 if (maybe_script->IsScript() && in Run()
2134 i::Script::cast(*maybe_script).type() == i::Script::TYPE_WEB_SNAPSHOT) { in Run()
2137 i::Handle<i::Script>::cast(maybe_script)); in Run()

Completed in 49 milliseconds