Lines Matching defs:isolate
54 bool OffHeapInstructionStream::PcIsOffHeap(Isolate* isolate, Address pc) {
56 if (isolate->embedded_blob_code() == nullptr) return false;
59 if (EmbeddedData::FromBlob(isolate).IsInCodeRange(pc)) return true;
60 return isolate->is_short_builtin_calls_enabled() &&
66 Isolate* isolate, Address address, uint32_t* hashable_address) {
68 if (isolate->embedded_blob_code() == nullptr) return false;
71 EmbeddedData d = EmbeddedData::FromBlob(isolate);
77 if (isolate->is_short_builtin_calls_enabled()) {
88 Builtin OffHeapInstructionStream::TryLookupCode(Isolate* isolate,
91 if (isolate->embedded_blob_code() == nullptr) return Builtin::kNoBuiltinId;
94 Builtin builtin = i::TryLookupCode(EmbeddedData::FromBlob(isolate), address);
96 if (isolate->is_short_builtin_calls_enabled() &&
105 // isolate uses it or knows about it or not (see
119 Isolate* isolate, uint8_t** code, uint32_t* code_size, uint8_t** data,
122 EmbeddedData d = EmbeddedData::FromIsolate(isolate);
132 AlignedAddress(isolate->heap()->GetRandomMmapAddr(), alignment);
140 AlignedAddress(isolate->heap()->GetRandomMmapAddr(), alignment);
186 bool BuiltinAliasesOffHeapTrampolineRegister(Isolate* isolate, Code code) {
207 Callable callable = Builtins::CallableFor(isolate, code.builtin_id());
218 void FinalizeEmbeddedCodeTargets(Isolate* isolate, EmbeddedData* blob) {
226 Code code = FromCodeT(isolate->builtins()->code(builtin));
235 // jumps for isolate independent builtins in the snapshot. This fixes up the
268 EmbeddedData EmbeddedData::FromIsolate(Isolate* isolate) {
269 Builtins* builtins = isolate->builtins();
282 // Sanity-check that the given builtin is isolate-independent and does not
284 if (!code.IsIsolateIndependent(isolate)) {
286 fprintf(stderr, "%s is not isolate-independent.\n",
289 if (BuiltinAliasesOffHeapTrampolineRegister(isolate, code)) {
326 "One or more builtins marked as isolate-independent either contains "
327 "isolate-dependent code or aliases the off-heap trampoline register. "
347 const size_t hash = isolate->HashIsolateForEmbeddedBlob();
390 FinalizeEmbeddedCodeTargets(isolate, &d);