This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
dev:crosscompiler:strings [2015/04/06 16:27] – [Feldzugriffe] ursgraf | dev:crosscompiler:strings [2015/04/18 08:42] – [Constant String] ursgraf | ||
---|---|---|---|
Line 20: | Line 20: | ||
The field //size// holds the number of bytes of the whole object. This is analogous to other objects (see [[dev: | The field //size// holds the number of bytes of the whole object. This is analogous to other objects (see [[dev: | ||
- | ===== Erzeugung | + | ===== Creation |
The Bytecode for the creation of a string is | The Bytecode for the creation of a string is | ||
< | < | ||
Line 55: | Line 55: | ||
===== Constant String ===== | ===== Constant String ===== | ||
- | Constant strings are stored in the constant block of a class, see [[Linker32]]. The layout there must be identical to the layout on the heap as given above. | + | Constant strings are stored in the constant block of a class, see [[dev: |
===== Special Linking ===== | ===== Special Linking ===== | ||
The type descriptor of the class //String// must have its field // | The type descriptor of the class //String// must have its field // |