# HG changeset patch # User Thomas Wuerthinger # Date 1318961272 -7200 # Node ID af1319bc4fd56cc607c43dad53bce20af1ba220d # Parent 456dd8ed1b9b657e9207a98c9f6393c7ea17013e Fixed wrong type char check. diff -r 456dd8ed1b9b -r af1319bc4fd5 src/share/vm/graal/graalCodeInstaller.cpp --- a/src/share/vm/graal/graalCodeInstaller.cpp Tue Oct 18 20:00:54 2011 +0200 +++ b/src/share/vm/graal/graalCodeInstaller.cpp Tue Oct 18 20:07:52 2011 +0200 @@ -755,13 +755,13 @@ ; break; case 'f': - case 'l': + case 'j': case 'd': { address operand = Assembler::locate_operand(instruction, Assembler::disp32_operand); address next_instruction = Assembler::locate_next_instruction(instruction); // we don't care if this is a long/double/etc., the primitive field contains the right bits int size = _constants->size(); - if (typeChar == 'd' || typeChar == 'l') { + if (typeChar == 'd' || typeChar == 'j') { size = _constants->align_at_start(size); } address dest = _constants->start() + size;