comparison src/share/vm/opto/parseHelper.cpp @ 1746:4b29a725c43c

6912064: type profiles need to be exploited more for dynamic language support Reviewed-by: kvn
author jrose
date Fri, 20 Aug 2010 23:40:30 -0700
parents 3941674cc7fa
children f95d63e2154a
comparison
equal deleted inserted replaced
1730:f55c4f82ab9d 1746:4b29a725c43c
117 } 117 }
118 return; 118 return;
119 } 119 }
120 120
121 // Push the bool result back on stack 121 // Push the bool result back on stack
122 push( gen_instanceof( pop(), makecon(TypeKlassPtr::make(klass)) ) ); 122 Node* res = gen_instanceof(peek(), makecon(TypeKlassPtr::make(klass)));
123
124 // Pop from stack AFTER gen_instanceof because it can uncommon trap.
125 pop();
126 push(res);
123 } 127 }
124 128
125 //------------------------------array_store_check------------------------------ 129 //------------------------------array_store_check------------------------------
126 // pull array from stack and check that the store is valid 130 // pull array from stack and check that the store is valid
127 void Parse::array_store_check() { 131 void Parse::array_store_check() {