Mercurial > hg > graal-jvmci-8
comparison src/share/vm/code/dependencies.cpp @ 8960:0ba33199edc0
invokedynamic: constant fold call site target with assumption; minor fixes
author | Andreas Woess <andreas.woess@jku.at> |
---|---|
date | Tue, 09 Apr 2013 20:37:06 +0200 |
parents | 707b20dd9512 |
children | 2979aaac95af |
comparison
equal
deleted
inserted
replaced
8959:7fee8bd5d2bd | 8960:0ba33199edc0 |
---|---|
169 void Dependencies::assert_unique_concrete_method(Klass* ctxk, Method* uniqm) { | 169 void Dependencies::assert_unique_concrete_method(Klass* ctxk, Method* uniqm) { |
170 check_ctxk(ctxk); | 170 check_ctxk(ctxk); |
171 assert_common_2(unique_concrete_method, DepValue(_oop_recorder, ctxk), DepValue(_oop_recorder, uniqm)); | 171 assert_common_2(unique_concrete_method, DepValue(_oop_recorder, ctxk), DepValue(_oop_recorder, uniqm)); |
172 } | 172 } |
173 | 173 |
174 void Dependencies::assert_call_site_target_value(oop cs, oop mh) { | 174 void Dependencies::assert_call_site_target_value(oop call_site, oop method_handle) { |
175 assert_common_2(call_site_target_value, DepValue(_oop_recorder, JNIHandles::make_local(cs)), DepValue(_oop_recorder, JNIHandles::make_local(mh))); | 175 assert_common_2(call_site_target_value, DepValue(_oop_recorder, JNIHandles::make_local(call_site)), DepValue(_oop_recorder, JNIHandles::make_local(method_handle))); |
176 } | 176 } |
177 #endif // GRAAL | 177 #endif // GRAAL |
178 | 178 |
179 | 179 |
180 // Helper function. If we are adding a new dep. under ctxk2, | 180 // Helper function. If we are adding a new dep. under ctxk2, |