summaryrefslogtreecommitdiff
path: root/src/vm/stackingallocator.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/vm/stackingallocator.h')
-rw-r--r--src/vm/stackingallocator.h9
1 files changed, 1 insertions, 8 deletions
diff --git a/src/vm/stackingallocator.h b/src/vm/stackingallocator.h
index dcb1c5c4e0..6d1b603a5a 100644
--- a/src/vm/stackingallocator.h
+++ b/src/vm/stackingallocator.h
@@ -116,7 +116,6 @@ public:
NOTHROW;
GC_NOTRIGGER;
MODE_ANY;
- SO_TOLERANT;
INJECT_FAULT(CONTRACT_RETURN NULL;);
PRECONDITION(m_CheckpointDepth > 0);
POSTCONDITION(CheckPointer(RETVAL, NULL_OK));
@@ -147,13 +146,7 @@ public:
// Is the request too large for the current block?
if (n > m_BytesLeft)
{
- bool allocatedNewBlock = false;
-
- BEGIN_SO_INTOLERANT_CODE_NOTHROW(GetThread(), RETURN NULL);
- allocatedNewBlock = AllocNewBlockForBytes(n);
- END_SO_INTOLERANT_CODE;
-
- if (!allocatedNewBlock)
+ if (!AllocNewBlockForBytes(n))
{
RETURN NULL;
}