Incrementing to latest ECMA changes.
git-svn-id: svn://10.0.0.236/trunk@135269 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -407,7 +407,7 @@ void JS::BigInt::allocate(uint lgGrossSize)
|
||||
FREE_DTOA_LOCK(0);
|
||||
} else {
|
||||
FREE_DTOA_LOCK(0);
|
||||
w = static_cast<uint32 *>(STD::malloc(max(uint32(grossSize * sizeof(uint32)), uint32(sizeof(uint32 *)))));
|
||||
w = static_cast<uint32 *>(STD::malloc(v_max(uint32(grossSize * sizeof(uint32)), uint32(sizeof(uint32 *)))));
|
||||
if (!w) {
|
||||
std::bad_alloc outOfMemory;
|
||||
throw outOfMemory;
|
||||
|
||||
Reference in New Issue
Block a user