Mercurial > hg > graal-jvmci-8
diff src/share/vm/opto/memnode.cpp @ 29:d5fc211aea19
6633953: type2aelembytes{T_ADDRESS} should be 8 bytes in 64 bit VM
Summary: T_ADDRESS size is defined as 'int' size (4 bytes) but C2 use it for raw pointers and as memory type for StoreP and LoadP nodes.
Reviewed-by: jrose
author | kvn |
---|---|
date | Mon, 25 Feb 2008 15:05:44 -0800 |
parents | ff5961f4c095 |
children | f34d9da7acb2 |
line wrap: on
line diff
--- a/src/share/vm/opto/memnode.cpp Fri Feb 22 17:55:13 2008 -0800 +++ b/src/share/vm/opto/memnode.cpp Mon Feb 25 15:05:44 2008 -0800 @@ -889,7 +889,7 @@ int shift = -1; Node* cache = NULL; if (is_autobox_cache(atp)) { - shift = exact_log2(type2aelembytes[T_OBJECT]); + shift = exact_log2(type2aelembytes(T_OBJECT)); cache = AddPNode::Ideal_base_and_offset(load_base->in(Address), phase, cache_offset); } if (cache != NULL && base->in(Address)->is_AddP()) {