Index: src/hydrogen-instructions.cc |
diff --git a/src/hydrogen-instructions.cc b/src/hydrogen-instructions.cc |
index 9d526434493f0ea1905ab79abc3614d50d7c46b0..062b5ae7ace247dc6a38891952d77c0f827c7143 100644 |
--- a/src/hydrogen-instructions.cc |
+++ b/src/hydrogen-instructions.cc |
@@ -2531,6 +2531,7 @@ HConstant::HConstant(Handle<Object> handle, Representation r) |
has_smi_value_ = has_int32_value_ && Smi::IsValid(int32_value_); |
double_value_ = n; |
has_double_value_ = true; |
+ // TODO(titzer): if this heap number is new space, tenure a new one. |
} else { |
is_internalized_string_ = handle->IsInternalizedString(); |
} |
@@ -2729,6 +2730,9 @@ void HConstant::PrintDataTo(StringStream* stream) { |
} else { |
handle(Isolate::Current())->ShortPrint(stream); |
} |
+ if (!is_not_in_new_space_) { |
+ stream->Add("[new space] "); |
+ } |
} |