Version 3.15.8
Enforced stack allocation of TryCatch blocks. (issue 2166,chromium:152389)
Fixed external exceptions in external try-catch handlers. (issue 2166)
Activated incremental code flushing by default.
Performance and stability improvements on all platforms.
git-svn-id: http://v8.googlecode.com/svn/trunk@13133 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
diff --git a/src/heap-inl.h b/src/heap-inl.h
index 33bc4f9..de47c94 100644
--- a/src/heap-inl.h
+++ b/src/heap-inl.h
@@ -460,7 +460,7 @@
intptr_t change_in_bytes) {
ASSERT(HasBeenSetUp());
intptr_t amount = amount_of_external_allocated_memory_ + change_in_bytes;
- if (change_in_bytes >= 0) {
+ if (change_in_bytes > 0) {
// Avoid overflow.
if (amount > amount_of_external_allocated_memory_) {
amount_of_external_allocated_memory_ = amount;