5#ifndef INCLUDE_V8_ISOLATE_CALLBACKS_H_
6#define INCLUDE_V8_ISOLATE_CALLBACKS_H_
13#include "cppgc/common.h"
20struct _EXCEPTION_POINTERS;
38
39
40
41
127
128
138
139
140
141
147
148
149
150
151
152
153
166
167
168
169
170
171
172
173
174
175
176
177
178
191using InterruptCallback =
void (*)(
Isolate* isolate,
void* data);
193using PrintCurrentStackTraceFilterCallback =
197
198
199
200
201
202
207
208
209#if defined(V8_OS_WIN)
216using CounterLookupCallback =
int* (*)(
const char* name);
218using CreateHistogramCallback =
void* (*)(
const char* name,
int min,
int max,
221using AddHistogramSampleCallback =
void (*)(
void* histogram,
int sample);
225using FatalErrorCallback =
void (*)(
const char* location,
const char* message);
232using OOMErrorCallback =
void (*)(
const char* location,
240using LogEventCallback =
void (*)(
const char* name,
256using AddCrashKeyCallback =
void (*)(
CrashKeyId id,
const std::string& value);
259using BeforeCallEnteredCallback =
void (*)(
Isolate*);
260using CallCompletedCallback =
void (*)(
Isolate*);
273
274
275
276using ModifyCodeGenerationFromStringsCallback =
279using ModifyCodeGenerationFromStringsCallback2 =
287
288
303using AllowWasmCodeGenerationCallback =
bool (*)(
Local<
Context> context,
316using WasmAsyncResolvePromiseCallback =
void (*)(
325using WasmImportedStringsEnabledCallback =
bool (*)(
Local<
Context> context);
328using WasmCustomDescriptorsEnabledCallback =
bool (*)(
Local<
Context> context);
331using SharedArrayBufferConstructorEnabledCallback =
338
339
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
418
419
420
421
422using CompileHintCallback =
bool (*)(
int,
void*);
425
426
427
428
429
430
431
432
433
434using HostInitializeImportMetaObjectCallback =
void (*)(
Local<
Context> context,
439
440
441
442
443
444
445
446
447
448
449using HostCreateShadowRealmContextCallback =
453
454
455
456
457using IsJSApiWrapperNativeErrorCallback =
bool (*)(
Isolate* isolate,
461
462
463
464
465
466
471#if defined(V8_OS_WIN)
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
friend class FunctionCallbackInfo
@ kGCCallbackFlagSynchronousPhantomCallbackProcessing
@ kGCCallbackFlagConstructRetainedObjectInfos
@ kGCCallbackFlagCollectAllExternalMemory
@ kGCCallbackFlagCollectAllAvailableGarbage
@ kGCCallbackScheduleIdleGarbageCollection
@ kGCTypeProcessWeakCallbacks
@ kGCTypeIncrementalMarking
@ kGCTypeMarkSweepCompact
@ kLastJitCodeEventOption
@ kJitCodeEventEnumExisting
@ kSnapshotChecksumCalculated
@ kCodeSpaceFirstPageAddress
@ kOldSpaceFirstPageAddress
@ kReadonlySpaceFirstPageAddress
@ kSnapshotChecksumExpected
PositionType position_type
const line_info_t * line_number_table
size_t line_number_table_size
@ CODE_START_LINE_INFO_RECORDING
@ CODE_END_LINE_INFO_RECORDING
Local< UnboundScript > script
struct line_info_t line_info
wasm_source_info_t * wasm_source_info
MaybeLocal< String > modified_source
#define V8_ENUM_DEPRECATE_SOON(message)