File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -266,27 +266,27 @@ typedef struct basicblock_ {
266
266
267
267
268
268
static struct instr *
269
- basicblock_last_instr (basicblock * b ) {
269
+ basicblock_last_instr (const basicblock * b ) {
270
270
if (b -> b_iused ) {
271
271
return & b -> b_instr [b -> b_iused - 1 ];
272
272
}
273
273
return NULL ;
274
274
}
275
275
276
276
static inline int
277
- basicblock_returns (basicblock * b ) {
277
+ basicblock_returns (const basicblock * b ) {
278
278
struct instr * last = basicblock_last_instr (b );
279
279
return last && last -> i_opcode == RETURN_VALUE ;
280
280
}
281
281
282
282
static inline int
283
- basicblock_exits_scope (basicblock * b ) {
283
+ basicblock_exits_scope (const basicblock * b ) {
284
284
struct instr * last = basicblock_last_instr (b );
285
285
return last && IS_SCOPE_EXIT_OPCODE (last -> i_opcode );
286
286
}
287
287
288
288
static inline int
289
- basicblock_nofallthrough (basicblock * b ) {
289
+ basicblock_nofallthrough (const basicblock * b ) {
290
290
struct instr * last = basicblock_last_instr (b );
291
291
return (last &&
292
292
(IS_SCOPE_EXIT_OPCODE (last -> i_opcode ) ||
You can’t perform that action at this time.
0 commit comments