diff options
Diffstat (limited to 'gcc/java/builtins.c')
-rw-r--r-- | gcc/java/builtins.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gcc/java/builtins.c b/gcc/java/builtins.c index 86aa00f..7793639 100644 --- a/gcc/java/builtins.c +++ b/gcc/java/builtins.c @@ -293,6 +293,11 @@ check_for_builtin (tree method, tree call) method_arguments); return result == NULL_TREE ? call : result; } + + /* Builtin functions emit a direct call which is incompatible + with the BC-ABI. */ + if (flag_indirect_dispatch) + return call; fn = built_in_decls[java_builtins[i].builtin_code]; if (fn == NULL_TREE) return call; |