| Index: src/hydrogen-instructions.cc
|
| diff --git a/src/hydrogen-instructions.cc b/src/hydrogen-instructions.cc
|
| index 4e817664f0fef5a102675d116629d4ca37584632..ee3468e8aa675310ac6caec8846731a80db65c93 100644
|
| --- a/src/hydrogen-instructions.cc
|
| +++ b/src/hydrogen-instructions.cc
|
| @@ -2453,6 +2453,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();
|
| }
|
| @@ -2651,6 +2652,9 @@ void HConstant::PrintDataTo(StringStream* stream) {
|
| } else {
|
| handle(Isolate::Current())->ShortPrint(stream);
|
| }
|
| + if (!is_not_in_new_space_) {
|
| + stream->Add("[new space] ");
|
| + }
|
| }
|
|
|
|
|
|
|