Reviewers: Hannes Payer,
Description:
Remove 64-bit unclean line from heap size estimation
[email protected]
BUG=
Please review this at https://codereview.chromium.org/1133243006/
Base URL: https://chromium.googlesource.com/v8/v8.git@master
Affected files (+0, -1 lines):
M src/heap/heap.h
Index: src/heap/heap.h
diff --git a/src/heap/heap.h b/src/heap/heap.h
index
c4c806817e4e4eb03b614a0daf6e5b17fa695dfb..8a80c8c596478757be2c8b1ea0fbdd90a035dfd2
100644
--- a/src/heap/heap.h
+++ b/src/heap/heap.h
@@ -1081,7 +1081,6 @@ class Heap {
inline intptr_t PromotedTotalSize() {
int64_t total = PromotedSpaceSizeOfObjects() +
PromotedExternalMemorySize();
- if (total > kMaxInt) return static_cast<intptr_t>(kMaxInt);
if (total < 0) return 0;
return static_cast<intptr_t>(total);
}
--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.