Lines Matching refs:CachedData

375   struct V8_EXPORT CachedData {
378 CachedData()
385 // data and guarantees that it stays alive until the CachedData object is
387 // (with delete[]) when the CachedData object is destroyed.
388 CachedData(const uint8_t* data, int length,
390 ~CachedData();
399 CachedData(const CachedData&) = delete;
400 CachedData& operator=(const CachedData&) = delete;
408 // Source takes ownership of both CachedData and CodeCacheConsumeTask.
411 CachedData* cached_data = nullptr,
413 // Source takes ownership of both CachedData and CodeCacheConsumeTask.
415 Local<String> source_string, CachedData* cached_data = nullptr,
421 // Ownership of the CachedData or its buffers is *not* transferred to the
422 // caller. The CachedData object is alive as long as the Source object is
424 V8_INLINE const CachedData* GetCachedData() const;
444 std::unique_ptr<CachedData> cached_data;
656 Isolate* isolate, std::unique_ptr<CachedData> source);
670 * Return a version tag for CachedData for the current V8 version & flags.
673 * CachedData instance is still valid; the tag has no other meaing.
675 * Background: The data carried by CachedData may depend on the exact
677 * persisting CachedData, the embedder must take care to not pass in
741 * CachedData returned by this function should be owned by the caller.
743 static CachedData* CreateCodeCache(Local<UnboundScript> unbound_script);
748 * CachedData returned by this function should be owned by the caller.
750 static CachedData* CreateCodeCache(
757 * CachedData returned by this function should be owned by the caller.
759 static CachedData* CreateCodeCacheForFunction(Local<Function> function);
775 CachedData* data,
787 ScriptCompiler::Source::Source(Local<String> string, CachedData* data,
806 const ScriptCompiler::CachedData* ScriptCompiler::Source::GetCachedData()