Home | History | Annotate | Download | only in src

Lines Matching defs:script

187   Handle<UnboundScript> script =
189 if (script.IsEmpty()) {
199 Handle<Value> result = script->BindToCurrentContext()->Run();
389 Handle<UnboundScript> script = ScriptCompiler::CompileUnbound(
391 if (script.IsEmpty()) return;
394 Handle<Value> result = script->BindToCurrentContext()->Run();
760 // Run the d8 shell utility script in the utility context
773 Handle<Script> script = Script::Compile(source, &origin);
774 script->Run();
775 // Mark the d8 shell script as native to avoid it showing up as normal source
777 i::Handle<i::Object> compiled_script = Utils::OpenHandle(*script);
778 i::Handle<i::Script> script_object = compiled_script->IsJSFunction()
779 ? i::Handle<i::Script>(i::Script::cast(
780 i::JSFunction::cast(*compiled_script)->shared()->script()))
781 : i::Handle<i::Script>(i::Script::cast(
782 i::SharedFunctionInfo::cast(*compiled_script)->script()));
783 script_object->set_type(i::Smi::FromInt(i::Script::TYPE_NATIVE));
1543 // Run interactive shell if explicitly requested or if no script has been