| Index: src/lithium.cc
|
| diff --git a/src/lithium.cc b/src/lithium.cc
|
| index 97801b51f0464623aae6fafa5ef67a362265cc7b..0364a8caa86db7ba185b313a181d0604de31a602 100644
|
| --- a/src/lithium.cc
|
| +++ b/src/lithium.cc
|
| @@ -310,7 +310,7 @@ Label* LChunk::GetAssemblyLabel(int block_id) const {
|
| }
|
|
|
| void LChunk::MarkEmptyBlocks() {
|
| - HPhase phase("L_Mark empty blocks", this);
|
| + LPhase phase("L_Mark empty blocks", this);
|
| for (int i = 0; i < graph()->blocks()->length(); ++i) {
|
| HBasicBlock* block = graph()->blocks()->at(i);
|
| int first = block->first_instruction_index();
|
| @@ -494,4 +494,11 @@ void LChunk::set_allocated_double_registers(BitVector* allocated_registers) {
|
| }
|
|
|
|
|
| +LPhase::~LPhase() {
|
| + if (ShouldProduceTraceOutput()) {
|
| + isolate()->GetHTracer()->TraceLithium(name(), chunk_);
|
| + }
|
| +}
|
| +
|
| +
|
| } } // namespace v8::internal
|
|
|