Mercurial > hg > graal-jvmci-8
comparison src/cpu/x86/vm/c1_LIRGenerator_x86.cpp @ 2005:0cb042fd2d4b
6875026: CTW failure jdk6_18/hotspot/src/share/vm/c1/c1_LinearScan.cpp:5486
Reviewed-by: kvn, iveresov
author | never |
---|---|
date | Wed, 01 Dec 2010 15:47:52 -0800 |
parents | ac637b7220d1 |
children | 037c727f35fb |
comparison
equal
deleted
inserted
replaced
2004:4da76e32c0be | 2005:0cb042fd2d4b |
---|---|
872 } | 872 } |
873 | 873 |
874 | 874 |
875 void LIRGenerator::do_ArrayCopy(Intrinsic* x) { | 875 void LIRGenerator::do_ArrayCopy(Intrinsic* x) { |
876 assert(x->number_of_arguments() == 5, "wrong type"); | 876 assert(x->number_of_arguments() == 5, "wrong type"); |
877 | |
878 // Make all state_for calls early since they can emit code | |
879 CodeEmitInfo* info = state_for(x, x->state()); | |
880 | |
877 LIRItem src(x->argument_at(0), this); | 881 LIRItem src(x->argument_at(0), this); |
878 LIRItem src_pos(x->argument_at(1), this); | 882 LIRItem src_pos(x->argument_at(1), this); |
879 LIRItem dst(x->argument_at(2), this); | 883 LIRItem dst(x->argument_at(2), this); |
880 LIRItem dst_pos(x->argument_at(3), this); | 884 LIRItem dst_pos(x->argument_at(3), this); |
881 LIRItem length(x->argument_at(4), this); | 885 LIRItem length(x->argument_at(4), this); |
914 | 918 |
915 int flags; | 919 int flags; |
916 ciArrayKlass* expected_type; | 920 ciArrayKlass* expected_type; |
917 arraycopy_helper(x, &flags, &expected_type); | 921 arraycopy_helper(x, &flags, &expected_type); |
918 | 922 |
919 CodeEmitInfo* info = state_for(x, x->state()); // we may want to have stack (deoptimization?) | |
920 __ arraycopy(src.result(), src_pos.result(), dst.result(), dst_pos.result(), length.result(), tmp, expected_type, flags, info); // does add_safepoint | 923 __ arraycopy(src.result(), src_pos.result(), dst.result(), dst_pos.result(), length.result(), tmp, expected_type, flags, info); // does add_safepoint |
921 } | 924 } |
922 | 925 |
923 | 926 |
924 // _i2l, _i2f, _i2d, _l2i, _l2f, _l2d, _f2i, _f2l, _f2d, _d2i, _d2l, _d2f | 927 // _i2l, _i2f, _i2d, _l2i, _l2f, _l2d, _f2i, _f2l, _f2d, _d2i, _d2l, _d2f |