comparison src/share/vm/opto/type.cpp @ 12823:b756e7a2ec33

Added tag jdk-9+181 for changeset 4a443796f6f5
author prr
date Thu, 03 Aug 2017 18:56:57 +0000
parents c1715eaaa820
children
comparison
equal deleted inserted replaced
89:3dd40f77c05e 90:5a787ee8a06e
371 stable_dimension, is_narrow_oop, 371 stable_dimension, is_narrow_oop,
372 field->is_autobox_cache()); 372 field->is_autobox_cache());
373 if (con_type != NULL && field->is_call_site_target()) { 373 if (con_type != NULL && field->is_call_site_target()) {
374 ciCallSite* call_site = holder->as_call_site(); 374 ciCallSite* call_site = holder->as_call_site();
375 if (!call_site->is_constant_call_site()) { 375 if (!call_site->is_constant_call_site()) {
376 ciMethodHandle* target = call_site->get_target(); 376 ciMethodHandle* target = con.as_object()->as_method_handle();
377 Compile::current()->dependencies()->assert_call_site_target_value(call_site, target); 377 Compile::current()->dependencies()->assert_call_site_target_value(call_site, target);
378 } 378 }
379 } 379 }
380 return con_type; 380 return con_type;
381 } 381 }