diff options
author | Pekka Enberg <penberg@kernel.org> | 2013-03-24 13:55:38 +0200 |
---|---|---|
committer | Pekka Enberg <penberg@kernel.org> | 2013-03-24 13:55:38 +0200 |
commit | 7865037272a94203b4cdddfbdca53fb8ef09ec8b (patch) | |
tree | 963989b31a8a8ee21a6cf71a04f52bd5a981b921 | |
parent | 5b982d20b7e98205804467b9b72139914fa093b2 (diff) | |
download | jato-7865037272a94203b4cdddfbdca53fb8ef09ec8b.tar.gz |
jit: Remove unused function
Signed-off-by: Pekka Enberg <penberg@kernel.org>
-rw-r--r-- | jit/invoke-bc.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/jit/invoke-bc.c b/jit/invoke-bc.c index 6701a7ca..729a1ec6 100644 --- a/jit/invoke-bc.c +++ b/jit/invoke-bc.c @@ -112,17 +112,6 @@ static bool verify_arg_types(struct vm_method *vmm, struct expression **args_arr return true; } -static unsigned int method_real_argument_count(struct vm_method *invoke_target) -{ - int argc; - - argc = vm_method_arg_slots(invoke_target); - if (!vm_method_is_static(invoke_target)) - argc++; - - return argc; -} - static int convert_and_add_args(struct parse_context *ctx, struct vm_method *invoke_target, struct statement *stmt) |