Skip to content

Commit dec622c

Browse files
author
Daniel Kroening
committed
fix type inconsistencies when using temporary
1 parent 6fd77f4 commit dec622c

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

jbmc/src/java_bytecode/java_bytecode_convert_method.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3184,10 +3184,6 @@ void java_bytecode_convert_methodt::save_stack_entries(
31843184
{
31853185
for(auto &stack_entry : stack)
31863186
{
3187-
// remove typecasts if existing
3188-
while(stack_entry.id()==ID_typecast)
3189-
stack_entry=to_typecast_expr(stack_entry).op();
3190-
31913187
// variables or static fields and symbol -> save symbols with same id
31923188
if((write_type==bytecode_write_typet::VARIABLE ||
31933189
write_type==bytecode_write_typet::STATIC_FIELD) &&

0 commit comments

Comments
 (0)