diff options
author | Roger Sayle <roger@nextmovesoftware.com> | 2016-08-02 18:01:14 +0000 |
---|---|---|
committer | Roger Sayle <sayle@gcc.gnu.org> | 2016-08-02 18:01:14 +0000 |
commit | 0e84fd1724f7651419ce17080ce51f11d29fac90 (patch) | |
tree | 45e84193468dfea0a7a436b46208da3faed59ee9 /gcc/go/go-lang.c | |
parent | 8a8330b7ef5aad2860cc5533a140fc6e1fd3793b (diff) | |
download | gcc-0e84fd1724f7651419ce17080ce51f11d29fac90.zip gcc-0e84fd1724f7651419ce17080ce51f11d29fac90.tar.gz gcc-0e84fd1724f7651419ce17080ce51f11d29fac90.tar.bz2 |
expr.c (push_value): Only call flush_quick_stack for non-constant arguments.
2016-08-02 Roger Sayle <roger@nextmovesoftware.com>
* expr.c (push_value): Only call flush_quick_stack for non-constant
arguments.
(build_java_throw_out_of_bounds_exception): No longer wrap calls
to _Jv_ThowBadArrayIndex in a COMPOUND_EXPR as no longer needed.
(java_check_reference): Annotate COND_EXPR with __builtin_expect
to indicate that calling _Jv_ThrowNullPointerException is unlikely.
(build_java_arrayaccess): Construct an unlikely COND_EXPR instead
of a TRUTH_ANDIF_EXPR in a COMPOUND_EXPR. Only generate array
index MULT_EXPR when size_exp is not unity.
(build_array_length_annotation): When optimizing, generate a write
to the allocated array's length field to expose constant lengths
to GCC's optimizers.
(build_newarray): Call new build_array_length_annotation.
(build_anewarray): Likewise.
(expand_java_multianewarray): Fix whitespace.
(expand_java_return): Likewise.
(expand_invoke): Likewise.
(load_type_state): Likewise.
From-SVN: r238992
Diffstat (limited to 'gcc/go/go-lang.c')
0 files changed, 0 insertions, 0 deletions