File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed
jbmc/unit/java_bytecode/goto-programs Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change 7
7
8
8
\*******************************************************************/
9
9
10
- #include < java_bytecode/java_types.h>
11
-
12
10
#include < testing-utils/catch.hpp>
13
11
#include < java-testing-utils/load_java_class.h>
14
12
@@ -135,8 +133,9 @@ SCENARIO(
135
133
call.function () = callee;
136
134
// Specific argument doesn't matter, so just pass an appropriately typed
137
135
// null pointer:
138
- call.arguments ().push_back (null_pointer_exprt (to_pointer_type (
139
- to_java_method_type (callee.type ()).parameters ()[0 ].type ())));
136
+ call.arguments ().push_back (
137
+ null_pointer_exprt (
138
+ to_pointer_type (to_code_type (callee.type ()).parameters ()[0 ].type ())));
140
139
virtual_call_inst->code = call;
141
140
142
141
test_program.add_instruction (END_FUNCTION);
You can’t perform that action at this time.
0 commit comments