We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5109733 commit 26ef690Copy full SHA for 26ef690
jbmc/unit/java_bytecode/goto-programs/remove_virtual_functions_without_fallback.cpp
@@ -7,8 +7,6 @@
7
8
\*******************************************************************/
9
10
-#include <java_bytecode/java_types.h>
11
-
12
#include <testing-utils/catch.hpp>
13
#include <java-testing-utils/load_java_class.h>
14
@@ -135,8 +133,9 @@ SCENARIO(
135
133
call.function() = callee;
136
134
// Specific argument doesn't matter, so just pass an appropriately typed
137
// null pointer:
138
- call.arguments().push_back(null_pointer_exprt(to_pointer_type(
139
- to_java_method_type(callee.type()).parameters()[0].type())));
+ call.arguments().push_back(
+ null_pointer_exprt(
+ to_pointer_type(to_code_type(callee.type()).parameters()[0].type())));
140
virtual_call_inst->code = call;
141
142
test_program.add_instruction(END_FUNCTION);
0 commit comments