| 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 5624 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5635 // the special case below. | 5635 // the special case below. |
| 5636 if (info()->IsStub() && type == Deoptimizer::EAGER) { | 5636 if (info()->IsStub() && type == Deoptimizer::EAGER) { |
| 5637 type = Deoptimizer::LAZY; | 5637 type = Deoptimizer::LAZY; |
| 5638 } | 5638 } |
| 5639 | 5639 |
| 5640 Comment(";;; deoptimize: %s", instr->hydrogen()->reason()); | 5640 Comment(";;; deoptimize: %s", instr->hydrogen()->reason()); |
| 5641 DeoptimizeIf(al, instr->environment(), type, zero_reg, Operand(zero_reg)); | 5641 DeoptimizeIf(al, instr->environment(), type, zero_reg, Operand(zero_reg)); |
| 5642 } | 5642 } |
| 5643 | 5643 |
| 5644 | 5644 |
| 5645 void LCodeGen::DoDummy(LDummy* instr) { |
| 5646 // Nothing to see here, move on! |
| 5647 } |
| 5648 |
| 5649 |
| 5645 void LCodeGen::DoDummyUse(LDummyUse* instr) { | 5650 void LCodeGen::DoDummyUse(LDummyUse* instr) { |
| 5646 // Nothing to see here, move on! | 5651 // Nothing to see here, move on! |
| 5647 } | 5652 } |
| 5648 | 5653 |
| 5649 | 5654 |
| 5650 void LCodeGen::DoDeferredStackCheck(LStackCheck* instr) { | 5655 void LCodeGen::DoDeferredStackCheck(LStackCheck* instr) { |
| 5651 PushSafepointRegistersScope scope(this, Safepoint::kWithRegisters); | 5656 PushSafepointRegistersScope scope(this, Safepoint::kWithRegisters); |
| 5652 LoadContextFromDeferred(instr->context()); | 5657 LoadContextFromDeferred(instr->context()); |
| 5653 __ CallRuntimeSaveDoubles(Runtime::kStackGuard); | 5658 __ CallRuntimeSaveDoubles(Runtime::kStackGuard); |
| 5654 RecordSafepointWithLazyDeopt( | 5659 RecordSafepointWithLazyDeopt( |
| (...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5813 __ Subu(scratch, result, scratch); | 5818 __ Subu(scratch, result, scratch); |
| 5814 __ lw(result, FieldMemOperand(scratch, | 5819 __ lw(result, FieldMemOperand(scratch, |
| 5815 FixedArray::kHeaderSize - kPointerSize)); | 5820 FixedArray::kHeaderSize - kPointerSize)); |
| 5816 __ bind(&done); | 5821 __ bind(&done); |
| 5817 } | 5822 } |
| 5818 | 5823 |
| 5819 | 5824 |
| 5820 #undef __ | 5825 #undef __ |
| 5821 | 5826 |
| 5822 } } // namespace v8::internal | 5827 } } // namespace v8::internal |
| OLD | NEW |