Mercurial > hg > graal-jvmci-8
diff src/share/vm/opto/compile.cpp @ 6888:cfe522e6461c
8000623: tools/javac/Diagnostics/6769027/T6769027.java crashes in PSPromotionManager::copy_to_survivor_space
Summary: Fix type of method pointer load from vtable.
Reviewed-by: twisti, johnc, roland
author | kvn |
---|---|
date | Wed, 17 Oct 2012 12:09:32 -0700 |
parents | f6badecb7ea7 |
children | 2aff40cb4703 |
line wrap: on
line diff
--- a/src/share/vm/opto/compile.cpp Fri Oct 12 14:06:27 2012 -0700 +++ b/src/share/vm/opto/compile.cpp Wed Oct 17 12:09:32 2012 -0700 @@ -3047,9 +3047,9 @@ case T_LONG: case T_DOUBLE: return (_v._value.j == other._v._value.j); case T_OBJECT: - case T_METADATA: return (_v._metadata == other._v._metadata); case T_ADDRESS: return (_v._value.l == other._v._value.l); case T_VOID: return (_v._value.l == other._v._value.l); // jump-table entries + case T_METADATA: return (_v._metadata == other._v._metadata); default: ShouldNotReachHere(); } return false;