comparison src/share/vm/interpreter/bytecodes.cpp @ 1570:de91a2f25c7e

6956164: nightly regressions from 6939207 Summary: Fix errors in 6939207. Reviewed-by: kvn
author jrose
date Thu, 27 May 2010 09:54:07 -0700
parents ab102d5d923e
children e9ff18c4ace7
comparison
equal deleted inserted replaced
1569:f9a202dd8899 1570:de91a2f25c7e
84 // only return len if it can be represented as a positive int; 84 // only return len if it can be represented as a positive int;
85 // return -1 otherwise 85 // return -1 otherwise
86 return (len > 0 && len == (int)len) ? len : -1; 86 return (len > 0 && len == (int)len) ? len : -1;
87 } 87 }
88 } 88 }
89 // Note: Length functions must return <=0 for invalid bytecodes.
89 return 0; 90 return 0;
90 } 91 }
91 92
92 // At a breakpoint instruction, this returns the breakpoint's length, 93 // At a breakpoint instruction, this returns the breakpoint's length,
93 // otherwise, it's the same as special_length_at(). This is used by 94 // otherwise, it's the same as special_length_at(). This is used by