changeset 3594:af1319bc4fd5

Fixed wrong type char check.
author Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
date Tue, 18 Oct 2011 20:07:52 +0200
parents 456dd8ed1b9b
children 97c1d4902e3f 9c0748af29c9
files src/share/vm/graal/graalCodeInstaller.cpp
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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;