Lines Matching refs:Script
158 Handle<Script> script = Script::Compile(source, name);
159 if (script.IsEmpty()) {
165 Handle<Value> result = script->Run();
745 // Run the d8 shell utility script in the utility context
755 Handle<Script> script = Script::Compile(source, name);
756 script->Run();
757 // Mark the d8 shell script as native to avoid it showing up as normal source
759 i::Handle<i::Object> compiled_script = Utils::OpenHandle(*script);
760 i::Handle<i::Script> script_object = compiled_script->IsJSFunction()
761 ? i::Handle<i::Script>(i::Script::cast(
762 i::JSFunction::cast(*compiled_script)->shared()->script()))
763 : i::Handle<i::Script>(i::Script::cast(
764 i::SharedFunctionInfo::cast(*compiled_script)->script()));
765 script_object->set_type(i::Smi::FromInt(i::Script::TYPE_NATIVE));
1518 // Run interactive shell if explicitly requested or if no script has been