Mercurial > hg > truffle
diff src/share/vm/interpreter/templateTable.cpp @ 4980:1c7c5be93e84
More diff vs hsx24 clean up.
author | Thomas Wuerthinger <thomas.wuerthinger@oracle.com> |
---|---|
date | Mon, 27 Feb 2012 21:49:51 +0100 |
parents | 06f017f7daa7 |
children | 957c266d8bc5 |
line wrap: on
line diff
--- a/src/share/vm/interpreter/templateTable.cpp Mon Feb 27 21:43:51 2012 +0100 +++ b/src/share/vm/interpreter/templateTable.cpp Mon Feb 27 21:49:51 2012 +0100 @@ -429,8 +429,11 @@ def(Bytecodes::_jsr , ubcp|disp|____|____, vtos, vtos, jsr , _ ); // result is not an oop, so do not transition to atos def(Bytecodes::_ret , ubcp|disp|____|____, vtos, vtos, ret , _ ); def(Bytecodes::_tableswitch , ubcp|disp|____|____, itos, vtos, tableswitch , _ ); -// def(Bytecodes::_lookupswitch , ubcp|disp|____|____, itos, itos, lookupswitch , _ ); +#ifdef GRAAL def(Bytecodes::_lookupswitch , ubcp|disp|____|____, itos, vtos, fast_linearswitch , _ ); +#else + def(Bytecodes::_lookupswitch , ubcp|disp|____|____, itos, itos, lookupswitch , _ ); +#endif def(Bytecodes::_ireturn , ____|disp|clvm|____, itos, itos, _return , itos ); def(Bytecodes::_lreturn , ____|disp|clvm|____, ltos, ltos, _return , ltos ); def(Bytecodes::_freturn , ____|disp|clvm|____, ftos, ftos, _return , ftos );