File tree 1 file changed +11
-4
lines changed 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.
@@ -86,10 +90,13 @@ operation.
86
90
87
91
These are converted by \ref remove_java_newt::lower_java_new_array
88
92
89
- See TODO: DOC-20: for details on how arrays are represented in codet. It first
90
- allocates the array object as with a regular Java object. Then the size
91
- component is set to be the size of the array and the data component is also
92
- initialized.
93
+ See \ref java-bytecode-array-representation for details on how arrays are
94
+ represented in codet.
95
+
96
+ A `newarray` is represented as:
97
+ - an allocation of the array object (the same as with a regular Java object).
98
+ - Initialize the size component
99
+ - Initialize the data component
93
100
94
101
For example the following Java:
95
102
You can’t perform that action at this time.
0 commit comments