| OLD | NEW |
| 1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
| 2 // Redistribution and use in source and binary forms, with or without | 2 // Redistribution and use in source and binary forms, with or without |
| 3 // modification, are permitted provided that the following conditions are | 3 // modification, are permitted provided that the following conditions are |
| 4 // met: | 4 // met: |
| 5 // | 5 // |
| 6 // * Redistributions of source code must retain the above copyright | 6 // * Redistributions of source code must retain the above copyright |
| 7 // notice, this list of conditions and the following disclaimer. | 7 // notice, this list of conditions and the following disclaimer. |
| 8 // * Redistributions in binary form must reproduce the above | 8 // * Redistributions in binary form must reproduce the above |
| 9 // copyright notice, this list of conditions and the following | 9 // copyright notice, this list of conditions and the following |
| 10 // disclaimer in the documentation and/or other materials provided | 10 // disclaimer in the documentation and/or other materials provided |
| (...skipping 475 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 486 spill_slot_count_ += 2; | 486 spill_slot_count_ += 2; |
| 487 } else { | 487 } else { |
| 488 spill_slot_count_++; | 488 spill_slot_count_++; |
| 489 } | 489 } |
| 490 } | 490 } |
| 491 iterator.Advance(); | 491 iterator.Advance(); |
| 492 } | 492 } |
| 493 } | 493 } |
| 494 | 494 |
| 495 | 495 |
| 496 LInstruction* LChunkBuilder::CheckElideControlInstruction( |
| 497 HControlInstruction* instr) { |
| 498 HBasicBlock* successor; |
| 499 if (!instr->KnownSuccessorBlock(&successor)) return NULL; |
| 500 return new(zone()) LGoto(successor); |
| 501 } |
| 502 |
| 503 |
| 496 LPhase::~LPhase() { | 504 LPhase::~LPhase() { |
| 497 if (ShouldProduceTraceOutput()) { | 505 if (ShouldProduceTraceOutput()) { |
| 498 isolate()->GetHTracer()->TraceLithium(name(), chunk_); | 506 isolate()->GetHTracer()->TraceLithium(name(), chunk_); |
| 499 } | 507 } |
| 500 } | 508 } |
| 501 | 509 |
| 502 | 510 |
| 503 } } // namespace v8::internal | 511 } } // namespace v8::internal |
| OLD | NEW |