Index: src/interpreter/bytecode-register-optimizer.cc |
diff --git a/src/interpreter/bytecode-register-optimizer.cc b/src/interpreter/bytecode-register-optimizer.cc |
index 859f0e18285bf86589ea731a5c56dfa7f08fd48c..9d3e21b392a3429c6566216ac6c83f527d598485 100644 |
--- a/src/interpreter/bytecode-register-optimizer.cc |
+++ b/src/interpreter/bytecode-register-optimizer.cc |
@@ -304,6 +304,7 @@ BytecodeRegisterOptimizer::GetMaterializedEquivalentNotAccumulator( |
void BytecodeRegisterOptimizer::Materialize(RegisterInfo* info) { |
if (!info->materialized()) { |
RegisterInfo* materialized = info->GetMaterializedEquivalent(); |
+ DCHECK_NOT_NULL(materialized); |
OutputRegisterTransfer(materialized, info); |
} |
} |
@@ -410,7 +411,7 @@ void BytecodeRegisterOptimizer::GrowRegisterMap(Register reg) { |
for (size_t i = old_size; i < new_size; ++i) { |
register_info_table_[i] = |
new (zone()) RegisterInfo(RegisterFromRegisterInfoTableIndex(i), |
- NextEquivalenceId(), false, false); |
+ NextEquivalenceId(), true, false); |
} |
} |
} |