Lines Matching defs:isolate
16 #include "src/execution/isolate.h"
259 ValueSerializer::ValueSerializer(Isolate* isolate,
261 : isolate_(isolate),
264 zone_(isolate->allocator(), ZONE_NAME),
265 id_map_(isolate->heap(), ZoneAllocationPolicy(&zone_)),
266 array_buffer_transfer_map_(isolate->heap(),
1171 ValueDeserializer::ValueDeserializer(Isolate* isolate,
1174 : isolate_(isolate),
1179 id_map_(isolate->global_handles()->Create(
1182 ValueDeserializer::ValueDeserializer(Isolate* isolate, const uint8_t* data,
1184 : isolate_(isolate),
1189 id_map_(isolate->global_handles()->Create(
2264 static bool IsValidObjectKey(Object value, Isolate* isolate) {
2266 auto instance_type = HeapObject::cast(value).map(isolate).instance_type();
2441 static Maybe<bool> SetPropertiesFromKeyValuePairs(Isolate* isolate,
2447 if (!IsValidObjectKey(*key, isolate)) return Nothing<bool>();
2449 PropertyKey lookup_key(isolate, key);
2450 LookupIterator it(isolate, object, lookup_key, LookupIterator::OWN);
2464 void ThrowDeserializationExceptionIfNonePending(Isolate* isolate) {
2465 if (!isolate->has_pending_exception()) {
2466 isolate->Throw(*isolate->factory()->NewError(
2469 DCHECK(isolate->has_pending_exception());