Index: src/objects.cc |
diff --git a/src/objects.cc b/src/objects.cc |
index af5eefd37a6e45ecf88baddf70d11155f256b2b0..91945b2359cad208e28f026e2e72ffc8f850e183 100644 |
--- a/src/objects.cc |
+++ b/src/objects.cc |
@@ -536,6 +536,9 @@ void Failure::FailurePrint() { |
Failure* Failure::RetryAfterGC(int requested_bytes, AllocationSpace space) { |
ASSERT((space & ~kSpaceTagMask) == 0); |
+ // TODO(X64): Stop using Smi validation for non-smi checks, even if they |
+ // happen to be identical at the moment. |
+ |
int requested = requested_bytes >> kObjectAlignmentBits; |
int value = (requested << kSpaceTagSize) | space; |
// We can't very well allocate a heap number in this situation, and if the |