Mercurial > hg > graal-compiler
changeset 14729:8db730993642
check that data patches are of the expected type
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Tue, 25 Mar 2014 13:55:55 +0100 |
parents | d09194f75dd4 |
children | 209cf6959421 |
files | src/share/vm/graal/graalCodeInstaller.cpp |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/share/vm/graal/graalCodeInstaller.cpp Mon Mar 24 23:50:48 2014 +0100 +++ b/src/share/vm/graal/graalCodeInstaller.cpp Tue Mar 25 13:55:55 2014 +0100 @@ -513,6 +513,8 @@ address dest = _constants->start() + CompilationResult_Site::pcOffset(patch); assert(!OopData::compressed(data), err_msg("unexpected compressed oop in data section")); _constants->relocate(dest, oop_Relocation::spec(oop_index)); + } else { + ShouldNotReachHere(); } }