diff options
Diffstat (limited to 'libguile/vm.c')
-rw-r--r-- | libguile/vm.c | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/libguile/vm.c b/libguile/vm.c index 0f107ea8b..472076d8a 100644 --- a/libguile/vm.c +++ b/libguile/vm.c @@ -438,11 +438,8 @@ static void vm_error_wrong_type_apply (SCM proc) SCM_NORETURN SCM_NOINLINE; static void vm_error_not_a_char (const char *subr, SCM x) SCM_NORETURN SCM_NOINLINE; static void vm_error_not_a_string (const char *subr, SCM x) SCM_NORETURN SCM_NOINLINE; static void vm_error_not_a_atomic_box (const char *subr, SCM x) SCM_NORETURN SCM_NOINLINE; -static void vm_error_not_a_bytevector (const char *subr, SCM x) SCM_NORETURN SCM_NOINLINE; -static void vm_error_not_a_mutable_bytevector (const char *subr, SCM v) SCM_NORETURN SCM_NOINLINE; static void vm_error_not_a_struct (const char *subr, SCM x) SCM_NORETURN SCM_NOINLINE; static void vm_error_out_of_range_uint64 (const char *subr, scm_t_uint64 idx) SCM_NORETURN SCM_NOINLINE; -static void vm_error_out_of_range_int64 (const char *subr, scm_t_int64 idx) SCM_NORETURN SCM_NOINLINE; static void vm_error_boxed_struct_field (const char *subr, scm_t_uint64 idx) SCM_NORETURN SCM_NOINLINE; static void vm_error_unboxed_struct_field (const char *subr, scm_t_uint64 idx) SCM_NORETURN SCM_NOINLINE; static void vm_error_no_values (void) SCM_NORETURN SCM_NOINLINE; @@ -570,18 +567,6 @@ vm_error_not_a_atomic_box (const char *subr, SCM x) } static void -vm_error_not_a_bytevector (const char *subr, SCM x) -{ - scm_wrong_type_arg_msg (subr, 1, x, "bytevector"); -} - -static void -vm_error_not_a_mutable_bytevector (const char *subr, SCM x) -{ - scm_wrong_type_arg_msg (subr, 1, x, "mutable bytevector"); -} - -static void vm_error_not_a_struct (const char *subr, SCM x) { scm_wrong_type_arg_msg (subr, 1, x, "struct"); @@ -594,12 +579,6 @@ vm_error_out_of_range_uint64 (const char *subr, scm_t_uint64 idx) } static void -vm_error_out_of_range_int64 (const char *subr, scm_t_int64 idx) -{ - scm_out_of_range (subr, scm_from_int64 (idx)); -} - -static void vm_error_boxed_struct_field (const char *subr, scm_t_uint64 idx) { scm_wrong_type_arg_msg (subr, 2, scm_from_uint64 (idx), "boxed field"); |