mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-18 10:04:42 +02:00
8011352: C1: TraceCodeBlobStacks crashes fastdebug Solaris SPARC
Handle null correctly Reviewed-by: roland, dlong, rbackman
This commit is contained in:
parent
8afe0e3b01
commit
1af1d42ac4
1 changed files with 2 additions and 2 deletions
|
@ -119,8 +119,8 @@ address RegisterMap::pd_location(VMReg regname) const {
|
||||||
reg = regname->as_Register();
|
reg = regname->as_Register();
|
||||||
}
|
}
|
||||||
if (reg->is_out()) {
|
if (reg->is_out()) {
|
||||||
assert(_younger_window != NULL, "Younger window should be available");
|
return _younger_window == NULL ? NULL :
|
||||||
return second_word + (address)&_younger_window[reg->after_save()->sp_offset_in_saved_window()];
|
second_word + (address)&_younger_window[reg->after_save()->sp_offset_in_saved_window()];
|
||||||
}
|
}
|
||||||
if (reg->is_local() || reg->is_in()) {
|
if (reg->is_local() || reg->is_in()) {
|
||||||
assert(_window != NULL, "Window should be available");
|
assert(_window != NULL, "Window should be available");
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue