diff options
| author | Carl Shapiro <cshapiro@google.com> | 2011-02-10 16:46:55 -0800 |
|---|---|---|
| committer | Carl Shapiro <cshapiro@google.com> | 2011-02-11 14:51:56 -0800 |
| commit | 3453a36d129597ecfe7e6bb699ce3ecdaee01cb1 (patch) | |
| tree | 9d38df68556b77eb1dfedf9458993da3f776cff8 /vm/compiler/codegen/arm/CodegenDriver.c | |
| parent | 719e14a06a328597b773fe347ca4ffb962716da5 (diff) | |
Fast fail impossible allocations.
If the size_t type cannot be used to represent any component of an
array size the allocation is be rejected. With this change, overflow
is checked for in the element size computation and total array size
computation. More preconditions are checked by asserts. Misleading
comments have been removed.
Change-Id: I067869c3404b9da591939555c6f9904f52ca7bd7
Diffstat (limited to 'vm/compiler/codegen/arm/CodegenDriver.c')
0 files changed, 0 insertions, 0 deletions
