| Index: src/hydrogen-instructions.cc
|
| diff --git a/src/hydrogen-instructions.cc b/src/hydrogen-instructions.cc
|
| index d3cc8a62b4d8623f572937297dcb06e9f141b5c7..14e1bc8a46e1243cfed639187c61151dfc0c1368 100644
|
| --- a/src/hydrogen-instructions.cc
|
| +++ b/src/hydrogen-instructions.cc
|
| @@ -425,7 +425,7 @@ void HValue::PrintRangeTo(StringStream* stream) {
|
|
|
|
|
| void HValue::PrintChangesTo(StringStream* stream) {
|
| - int changes_flags = (flags() & HValue::ChangesFlagsMask());
|
| + int changes_flags = ChangesFlags();
|
| if (changes_flags == 0) return;
|
| stream->Add(" changes[");
|
| if (changes_flags == AllSideEffects()) {
|
| @@ -512,9 +512,7 @@ void HInstruction::PrintTo(StringStream* stream) {
|
|
|
|
|
| void HInstruction::PrintMnemonicTo(StringStream* stream) {
|
| - stream->Add("%s", Mnemonic());
|
| - if (HasSideEffects()) stream->Add("*");
|
| - stream->Add(" ");
|
| + stream->Add("%s ", Mnemonic());
|
| }
|
|
|
|
|
| @@ -791,6 +789,13 @@ void HChange::PrintDataTo(StringStream* stream) {
|
| }
|
|
|
|
|
| +void HJSArrayLength::PrintDataTo(StringStream* stream) {
|
| + value()->PrintNameTo(stream);
|
| + stream->Add(" ");
|
| + typecheck()->PrintNameTo(stream);
|
| +}
|
| +
|
| +
|
| HValue* HCheckInstanceType::Canonicalize() {
|
| if (check_ == IS_STRING &&
|
| !value()->type().IsUninitialized() &&
|
| @@ -1020,11 +1025,14 @@ void HPhi::PrintTo(StringStream* stream) {
|
| value->PrintNameTo(stream);
|
| stream->Add(" ");
|
| }
|
| - stream->Add(" uses%d_%di_%dd_%dt]",
|
| + stream->Add(" uses%d_%di_%dd_%dt",
|
| UseCount(),
|
| int32_non_phi_uses() + int32_indirect_uses(),
|
| double_non_phi_uses() + double_indirect_uses(),
|
| tagged_non_phi_uses() + tagged_indirect_uses());
|
| + stream->Add("%s%s]",
|
| + is_live() ? "_live" : "",
|
| + IsConvertibleToInteger() ? "" : "_ncti");
|
| }
|
|
|
|
|
|
|