changeset 7:3053c0d361b6

Make the program run mostly through the "fast_case" instead of the "slow_case".
author Cai Songsong <caisongsong@loongson.cn>
date Sat, 09 Oct 2010 18:14:02 +0800
parents 0e269e2d5a9c
children fc40477e29ae
files hotspot/src/cpu/mips/vm/templateTable_mips.cpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/hotspot/src/cpu/mips/vm/templateTable_mips.cpp	Sat Oct 09 18:06:39 2010 +0800
+++ b/hotspot/src/cpu/mips/vm/templateTable_mips.cpp	Sat Oct 09 18:14:02 2010 +0800
@@ -4251,7 +4251,7 @@
 	//FIXME need confirmation and test. aoqi
 	__ lw(T1, T3, Klass::layout_helper_offset_in_bytes() + sizeof(oopDesc));
 	__ andi(AT, T1, Klass::_lh_instance_slow_path_bit);
-	__ beq(AT, ZERO, slow_case);
+	__ bne(AT, ZERO, slow_case);
 	__ delayed()->nop();
 
 	// get instance_size in instanceKlass (already aligned) in T4,