You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by ge...@apache.org on 2006/11/04 19:12:16 UTC
svn commit: r471241 -
/incubator/harmony/enhanced/drlvm/trunk/vm/jitrino/src/optimizer/Opcode.cpp
Author: geirm
Date: Sat Nov 4 10:12:15 2006
New Revision: 471241
URL: http://svn.apache.org/viewvc?view=rev&rev=471241
Log:
HARMONY-1853
[drlvm][jit] Jitrino OPT does not throw NegativeArraySizeException when creates multi-dimentional array with
negative second dimention
Fixed
Ubuntu 6 - smoke, c-unit, ~kernel
Modified:
incubator/harmony/enhanced/drlvm/trunk/vm/jitrino/src/optimizer/Opcode.cpp
Modified: incubator/harmony/enhanced/drlvm/trunk/vm/jitrino/src/optimizer/Opcode.cpp
URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/drlvm/trunk/vm/jitrino/src/optimizer/Opcode.cpp?view=diff&rev=471241&r1=471240&r2=471241
==============================================================================
--- incubator/harmony/enhanced/drlvm/trunk/vm/jitrino/src/optimizer/Opcode.cpp (original)
+++ incubator/harmony/enhanced/drlvm/trunk/vm/jitrino/src/optimizer/Opcode.cpp Sat Nov 4 10:12:15 2006
@@ -160,8 +160,8 @@
{ Op_TauCheckElemType, false, MB::Check, MK::Exception, "chkelemtype", "chkelemtype %0,%1 ((%2,%3)) -) %l", }, // Array element type check for aastore
{ Op_TauCheckFinite, false, MB::Check, MK::Exception, "ckfinite", "ckfinite %s -) %l", }, // throws ArithmeticException if value is NaN or +- inifinity
{ Op_NewObj, false, MB::Exception, MK::None, "newobj", "newobj %d -) %l", }, // OutOfMemoryException
- { Op_NewArray, false, MB::Exception, MK::None, "newarray", "newarray %d[%0] -) %l", }, // OutOfMemoryException, NegativeArraySizeException
- { Op_NewMultiArray, false, MB::Exception, MK::None, "newmultiarray", "newmultiarray %d[%s] -) %l", }, // OutOfMemoryException, NegativeArraySizeException
+ { Op_NewArray, false, MB::Exception, MK::Exception, "newarray", "newarray %d[%0] -) %l", }, // OutOfMemoryException, NegativeArraySizeException
+ { Op_NewMultiArray, false, MB::Exception, MK::Exception, "newmultiarray", "newmultiarray %d[%s] -) %l", }, // OutOfMemoryException, NegativeArraySizeException
{ Op_TauMonitorEnter, true, MB::StoreOrSync, MK::None, "monenter", "monenter %0 ((%1))", }, // (opnd must be non-null)
{ Op_TauMonitorExit, true, MB::StoreOrSync, MK::Exception, "monexit", "monexit %0 ((%1))", }, // (opnd must be non-null), IllegalMonitorStateException
{ Op_TypeMonitorEnter, true, MB::StoreOrSync, MK::None, "tmonenter", "monenter %d", },