equal
deleted
inserted
replaced
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 |