Skip to content

Commit f123ae9

Browse files
author
thk123
committed
Adding comment referencing where the invariant comes from
1 parent 150f826 commit f123ae9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/java_bytecode/java_bytecode_parser.cpp

+1
Original file line numberDiff line numberDiff line change
@@ -948,6 +948,7 @@ void java_bytecode_parsert::rmethod_attribute(methodt &method)
948948
u2 start_pc=read_u2();
949949
u2 end_pc=read_u2();
950950

951+
// from the class file format spec ("4.7.3. The Code Attribute" for Java8)
951952
INVARIANT(
952953
start_pc < end_pc,
953954
"The start_pc must be less than the end_pc as this is the range the "

0 commit comments

Comments
 (0)