Lines Matching defs:isolate
9 #include "src/execution/isolate.h"
30 MaglevCompilationHandleScope(Isolate* isolate,
33 persistent_(isolate),
35 canonical_(isolate, &exported_info_) {
36 info->ReopenHandlesInNewHandleScope(isolate);
52 MaglevCompilationInfo::MaglevCompilationInfo(Isolate* isolate,
54 : zone_(isolate->allocator(), kMaglevZoneName),
55 isolate_(isolate),
57 isolate, zone(), FLAG_trace_heap_broker, CodeKind::MAGLEV)),
58 shared_(function->shared(), isolate),
66 MaglevCompilationHandleScope compilation(isolate, this);
73 isolate->heap()->PublishPendingAllocations();
76 handle(function->native_context(), isolate));
81 isolate->heap()->PublishPendingAllocations();
94 void MaglevCompilationInfo::ReopenHandlesInNewHandleScope(Isolate* isolate) {
96 shared_ = handle(*shared_, isolate);
98 function_ = handle(*function_, isolate);