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