summaryrefslogtreecommitdiff
path: root/erts/emulator/beam/jit/load.h
diff options
context:
space:
mode:
Diffstat (limited to 'erts/emulator/beam/jit/load.h')
-rw-r--r--erts/emulator/beam/jit/load.h11
1 files changed, 8 insertions, 3 deletions
diff --git a/erts/emulator/beam/jit/load.h b/erts/emulator/beam/jit/load.h
index 819553ca54..3f259cfe7e 100644
--- a/erts/emulator/beam/jit/load.h
+++ b/erts/emulator/beam/jit/load.h
@@ -1,7 +1,7 @@
/*
* %CopyrightBegin%
*
- * Copyright Ericsson AB 2020-2021. All Rights Reserved.
+ * Copyright Ericsson AB 2020-2023. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -82,10 +82,15 @@ struct LoaderState_ {
unsigned int current_li; /* Current line instruction */
unsigned int *func_line; /* Mapping from function to first line instr */
+ /* Translates lambda indexes to their literals, if any. Lambdas that lack
+ * a literal (for example if they have an environment) are represented by
+ * ERTS_SWORD_MAX. */
+ SWord *lambda_literals;
+
void *ba; /* Assembler used to create x86 assembly */
- const void *native_module_exec; /* Native module after codegen */
- void *native_module_rw; /* Native module after codegen, writable mapping */
+ const void *executable_region; /* Native module after codegen */
+ void *writable_region; /* Native module after codegen, writable mapping */
int function_number;
int last_label;