Skip to content

Commit

Permalink
Fix Magic 128-bit mode build.
Browse files Browse the repository at this point in the history
Fix bad prototype in helper.h so CHERI_MAGIC128 builds again.
  • Loading branch information
staceyson committed May 13, 2017
1 parent abef7fd commit bbee5bc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions target-mips/helper.h
Original file line number Diff line number Diff line change
Expand Up @@ -242,8 +242,8 @@ DEF_HELPER_4(cap2bytes_128c, tl, env, i32, i32, tl)
#elif defined(CHERI_MAGIC128)
DEF_HELPER_5(bytes2cap_m128, void, env, i32, tl, tl, tl)

DEF_HELPER_3(cap2bytes_m128b, tl, env, i32, tl)
DEF_HELPER_4(cap2bytes_m128c, tl, env, i32, i32, tl)
DEF_HELPER_3(cap2bytes_m128c, tl, env, i32, tl)
DEF_HELPER_4(cap2bytes_m128b, tl, env, i32, i32, tl)
#else /* ! CHERI_MAGIC128 */
DEF_HELPER_4(bytes2cap_op, void, env, i32, tl, tl)
DEF_HELPER_4(bytes2cap_opll, void, env, i32, tl, tl)
Expand Down

0 comments on commit bbee5bc

Please sign in to comment.