summaryrefslogtreecommitdiff
path: root/erts/emulator/beam/emu/load.h
diff options
context:
space:
mode:
Diffstat (limited to 'erts/emulator/beam/emu/load.h')
-rw-r--r--erts/emulator/beam/emu/load.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/erts/emulator/beam/emu/load.h b/erts/emulator/beam/emu/load.h
index f78fee217d..6de420a5dc 100644
--- a/erts/emulator/beam/emu/load.h
+++ b/erts/emulator/beam/emu/load.h
@@ -2,7 +2,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.
@@ -142,6 +142,11 @@ 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;
+
int otp_20_or_higher;
Uint last_func_start;