Home
last modified time | relevance | path

Searched refs:ScriptCompiler (Results 1 – 16 of 16) sorted by relevance

/external/v8/src/
Dcompiler.h68 static ScriptCompiler::ScriptStreamingTask* NewBackgroundCompileTask(
126 v8::ScriptCompiler::CompileOptions compile_options,
127 v8::ScriptCompiler::NoCacheReason no_cache_reason);
145 ScriptCompiler::CompileOptions compile_options,
146 ScriptCompiler::NoCacheReason no_cache_reason,
325 ScriptStreamingData(ScriptCompiler::ExternalSourceStream* source_stream,
326 ScriptCompiler::StreamedSource::Encoding encoding);
332 std::unique_ptr<ScriptCompiler::ExternalSourceStream> source_stream;
333 ScriptCompiler::StreamedSource::Encoding encoding;
334 std::unique_ptr<ScriptCompiler::CachedData> cached_data;
Dcompiler.cc936 class BackgroundCompileTask : public ScriptCompiler::ScriptStreamingTask {
1391 Isolate* isolate, ScriptCompiler::NoCacheReason no_cache_reason) in ScriptCompileTimerScope()
1434 ScriptCompiler::NoCacheReason no_cache_reason_;
1459 if (no_cache_reason_ == ScriptCompiler::kNoCacheBecauseStreamingSource) { in GetCacheBehaviour()
1466 case ScriptCompiler::kNoCacheBecauseInlineScript: in GetCacheBehaviour()
1468 case ScriptCompiler::kNoCacheBecauseScriptTooSmall: in GetCacheBehaviour()
1470 case ScriptCompiler::kNoCacheBecauseCacheTooCold: in GetCacheBehaviour()
1472 case ScriptCompiler::kNoCacheNoReason: in GetCacheBehaviour()
1474 case ScriptCompiler::kNoCacheBecauseNoResource: in GetCacheBehaviour()
1476 case ScriptCompiler::kNoCacheBecauseInspector: in GetCacheBehaviour()
[all …]
Dd8.cc418 std::map<std::string, std::unique_ptr<ScriptCompiler::CachedData>>
427 class DummySourceStream : public v8::ScriptCompiler::ExternalSourceStream {
458 v8::ScriptCompiler::StreamedSource::UTF8), in BackgroundCompileThread()
459 task_(v8::ScriptCompiler::StartStreamingScript(isolate, in BackgroundCompileThread()
464 v8::ScriptCompiler::StreamedSource* streamed_source() { in streamed_source()
470 v8::ScriptCompiler::StreamedSource streamed_source_;
471 std::unique_ptr<v8::ScriptCompiler::ScriptStreamingTask> task_;
474 ScriptCompiler::CachedData* Shell::LookupCodeCache(Isolate* isolate, in LookupCodeCache()
485 ScriptCompiler::CachedData* cached_data = new ScriptCompiler::CachedData( in LookupCodeCache()
486 cache, length, ScriptCompiler::CachedData::BufferOwned); in LookupCodeCache()
[all …]
Dd8.h343 compile_options(v8::ScriptCompiler::kNoCompileOptions), in ShellOptions()
374 v8::ScriptCompiler::CompileOptions compile_options;
577 static ScriptCompiler::CachedData* LookupCodeCache(Isolate* isolate,
580 const ScriptCompiler::CachedData* data);
587 static std::map<std::string, std::unique_ptr<ScriptCompiler::CachedData>>
Dapi.cc2012 ScriptCompiler::CachedData::CachedData(const uint8_t* data_, int length_, in CachedData()
2020 ScriptCompiler::CachedData::~CachedData() { in ~CachedData()
2027 bool ScriptCompiler::ExternalSourceStream::SetBookmark() { return false; } in SetBookmark()
2030 void ScriptCompiler::ExternalSourceStream::ResetToBookmark() { UNREACHABLE(); } in ResetToBookmark()
2032 ScriptCompiler::StreamedSource::StreamedSource(ExternalSourceStream* stream, in StreamedSource()
2036 ScriptCompiler::StreamedSource::~StreamedSource() { delete impl_; } in ~StreamedSource()
2039 const ScriptCompiler::CachedData*
2040 ScriptCompiler::StreamedSource::GetCachedData() const { in GetCachedData()
2359 MaybeLocal<UnboundScript> ScriptCompiler::CompileUnboundInternal( in CompileUnboundInternal()
2364 ENTER_V8_NO_SCRIPT(isolate, v8_isolate->GetCurrentContext(), ScriptCompiler, in CompileUnboundInternal()
[all …]
Dbootstrapper.cc3825 ScriptCompiler::kNoCompileOptions, ScriptCompiler::kNoCacheNoReason, in CompileNative()
3891 ScriptCompiler::kNoCompileOptions, in CompileExtension()
3892 ScriptCompiler::kNoCacheBecauseV8Extension, EXTENSION_CODE); in CompileExtension()
/external/v8/src/parsing/
Dscanner-character-streams.cc91 ChunkedStream(ScriptCompiler::ExternalSourceStream* source, in ChunkedStream()
156 ScriptCompiler::ExternalSourceStream* source_;
166 Utf8ChunkedStream(ScriptCompiler::ExternalSourceStream* source, in Utf8ChunkedStream()
415 ScriptCompiler::ExternalSourceStream* source_stream, in Utf8ExternalStreamingStream()
470 ScriptCompiler::ExternalSourceStream* source_stream_;
743 ScriptCompiler::ExternalSourceStream* source_stream, in For()
744 v8::ScriptCompiler::StreamedSource::Encoding encoding, in For()
747 case v8::ScriptCompiler::StreamedSource::TWO_BYTE: in For()
750 case v8::ScriptCompiler::StreamedSource::ONE_BYTE: in For()
753 case v8::ScriptCompiler::StreamedSource::UTF8: in For()
Dscanner-character-streams.h26 ScriptCompiler::ExternalSourceStream* source_stream,
27 ScriptCompiler::StreamedSource::Encoding encoding,
Dparser.h23 class ScriptCompiler; variable
1111 ScriptCompiler::CompileOptions compile_options_;
/external/v8/src/snapshot/
Dcode-serializer.cc40 ScriptCompiler::CachedData* CodeSerializer::Serialize( in Serialize()
77 ScriptCompiler::CachedData* result = in Serialize()
78 new ScriptCompiler::CachedData(script_data->data(), script_data->length(), in Serialize()
79 ScriptCompiler::CachedData::BufferOwned); in Serialize()
Dcode-serializer.h47 static ScriptCompiler::CachedData* Serialize(Handle<SharedFunctionInfo> info);
Dmksnapshot.cc295 v8::ScriptCompiler::Source source(source_string, origin); in RunExtraCode()
297 if (!v8::ScriptCompiler::Compile(context, &source).ToLocal(&script)) in RunExtraCode()
/external/v8/src/inspector/
Dv8-inspector-impl.cc106 v8::ScriptCompiler::Source source(toV8String(m_isolate, code), origin); in compileScript()
107 return v8::ScriptCompiler::Compile(context, &source, in compileScript()
108 v8::ScriptCompiler::kNoCompileOptions); in compileScript()
/external/v8/src/debug/
Ddebug-evaluate.cc37 origin_options, nullptr, nullptr, ScriptCompiler::kNoCompileOptions, in Global()
38 ScriptCompiler::kNoCacheNoReason, NOT_NATIVES_CODE); in Global()
/external/v8/include/
Dv8.h1380 class V8_EXPORT ScriptCompiler {
1444 friend class ScriptCompiler;
10014 ScriptCompiler::Source::Source(Local<String> string, const ScriptOrigin& origin,
10025 ScriptCompiler::Source::Source(Local<String> string,
10030 ScriptCompiler::Source::~Source() {
10035 const ScriptCompiler::CachedData* ScriptCompiler::Source::GetCachedData()
10040 const ScriptOriginOptions& ScriptCompiler::Source::GetResourceOptions() const {
/external/v8/
DChangeLog43425 Tentative Windows dll build fix: Don't V8_EXPORT ScriptCompiler::Source