File tree 2 files changed +16
-1
lines changed
2 files changed +16
-1
lines changed Original file line number Diff line number Diff line change @@ -186,6 +186,21 @@ symbol_exprt java_bytecode_convert_methodt::tmp_variable(
186
186
return result;
187
187
}
188
188
189
+ // / Returns a symbol_exprt indicating a local variable suitable to load/store
190
+ // / from a bytecode at address `address` a value of type `type_char` stored in
191
+ // / the JVM's slot `arg`.
192
+ // /
193
+ // / \param arg
194
+ // / The local variable slot
195
+ // / \param type_char
196
+ // / The type of the value stored in the slot pointed by `arg`.
197
+ // / \param address
198
+ // / Bytecode address used to find a variable that the LVT declares to be live
199
+ // / and living in the slot pointed by `arg` for this bytecode.
200
+ // / \param do_cast
201
+ // / Indicates whether we should return the original symbol_exprt or a
202
+ // / typecast_exprt if the type of the symbol_exprt does not equal that
203
+ // / represented by `type_char`.
189
204
const exprt java_bytecode_convert_methodt::variable (
190
205
const exprt &arg,
191
206
char type_char,
Original file line number Diff line number Diff line change @@ -543,7 +543,7 @@ static void merge_variable_table_entries(
543
543
// / Given a sequence of users of the same local variable slot, this figures out
544
544
// / which ones are related by control flow, and combines them into a single
545
545
// / entry with holes, such that after combination we can create a single
546
- // / declaration per variable table entry, placed at the live range's start
546
+ // / GOTO variable per variable table entry, placed at the live range's start
547
547
// / address, which may be moved back so that the declaration dominates all uses.
548
548
// / \par parameters: `firstvar`-`varlimit`: sequence of variable table entries,
549
549
// / all of which should concern the same slot index.
You can’t perform that action at this time.
0 commit comments