File tree Expand file tree Collapse file tree 1 file changed +11
-4
lines changed Expand file tree Collapse file tree 1 file changed +11
-4
lines changed Original file line number Diff line number Diff line change @@ -7,6 +7,10 @@ This module provides a front end for Java.
7
7
8
8
To be documented.
9
9
10
+ \section java-bytecode-array-representation How are Java arrays represented in GOTO
11
+
12
+ To be documented.
13
+
10
14
\section java-bytecode-object-factory Object Factory
11
15
12
16
To be documented.
@@ -167,10 +171,13 @@ operation.
167
171
168
172
These are converted by \ref remove_java_newt::lower_java_new_array
169
173
170
- See TODO: DOC-20: for details on how arrays are represented in codet. It first
171
- allocates the array object as with a regular Java object. Then the size
172
- component is set to be the size of the array and the data component is also
173
- initialized.
174
+ See \ref java-bytecode-array-representation for details on how arrays are
175
+ represented in codet.
176
+
177
+ A `newarray` is represented as:
178
+ - an allocation of the array object (the same as with a regular Java object).
179
+ - Initialize the size component
180
+ - Initialize the data component
174
181
175
182
For example the following Java:
176
183
You can’t perform that action at this time.
0 commit comments