Lines Matching defs:shared
21 #include "src/snapshot/shared-heap-deserializer.h"
22 #include "src/snapshot/shared-heap-serializer.h"
76 // [5] offset to shared heap
83 // ... shared heap snapshot data
239 i::SharedFunctionInfo shared = i::SharedFunctionInfo::cast(o);
240 if (shared.script(cage_base).IsScript(cage_base) &&
241 Script::cast(shared.script(cage_base)).type() ==
245 if (shared.CanDiscardCompiled()) {
246 sfis_to_clear.emplace_back(shared, isolate);
258 for (i::Handle<i::SharedFunctionInfo> shared : sfis_to_clear) {
259 if (shared->CanDiscardCompiled()) {
260 i::SharedFunctionInfo::DiscardCompiled(isolate, shared);
274 i::SharedFunctionInfo shared = fun.shared();
275 if (shared.script(cage_base).IsScript(cage_base) &&
276 Script::cast(shared.script(cage_base)).type() ==
292 DCHECK(fun.shared().HasWasmExportedFunctionData() ||
293 fun.shared().HasBuiltinId() || fun.shared().IsApiFunction() ||
294 fun.shared().HasUncompiledDataWithoutPreparseData());
296 DCHECK(fun.shared().HasBuiltinId() || fun.shared().IsApiFunction() ||
297 fun.shared().HasUncompiledDataWithoutPreparseData());
562 PrintF("%10d bytes for shared heap\n", payload_length);