Mercurial > hg > graal-compiler
comparison src/share/vm/graal/graalCodeInstaller.cpp @ 3660:c805dfba251d
Fixed regression.
author | Thomas Wuerthinger <thomas.wuerthinger@oracle.com> |
---|---|
date | Thu, 17 Nov 2011 17:18:16 +0100 |
parents | b711e226cfaf |
children | d24f157f2ba8 |
comparison
equal
deleted
inserted
replaced
3659:b711e226cfaf | 3660:c805dfba251d |
---|---|
293 } | 293 } |
294 | 294 |
295 void CodeInstaller::initialize_fields(Handle target_method) { | 295 void CodeInstaller::initialize_fields(Handle target_method) { |
296 _citarget_method = HotSpotTargetMethod::targetMethod(target_method); | 296 _citarget_method = HotSpotTargetMethod::targetMethod(target_method); |
297 _hotspot_method = HotSpotTargetMethod::method(target_method); | 297 _hotspot_method = HotSpotTargetMethod::method(target_method); |
298 _parameter_count = getMethodFromHotSpotMethod(_hotspot_method)->size_of_parameters(); | 298 if (_hotspot_method != NULL) { |
299 _parameter_count = getMethodFromHotSpotMethod(_hotspot_method)->size_of_parameters(); | |
300 } | |
299 _name = HotSpotTargetMethod::name(target_method); | 301 _name = HotSpotTargetMethod::name(target_method); |
300 _sites = (arrayOop) HotSpotTargetMethod::sites(target_method); | 302 _sites = (arrayOop) HotSpotTargetMethod::sites(target_method); |
301 oop assumptions = CiTargetMethod::assumptions(_citarget_method); | 303 oop assumptions = CiTargetMethod::assumptions(_citarget_method); |
302 if (assumptions != NULL) { | 304 if (assumptions != NULL) { |
303 _assumptions = (arrayOop) CiAssumptions::list(assumptions); | 305 _assumptions = (arrayOop) CiAssumptions::list(assumptions); |