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 5672 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5683 // the special case below. | 5683 // the special case below. |
5684 if (info()->IsStub() && type == Deoptimizer::EAGER) { | 5684 if (info()->IsStub() && type == Deoptimizer::EAGER) { |
5685 type = Deoptimizer::LAZY; | 5685 type = Deoptimizer::LAZY; |
5686 } | 5686 } |
5687 | 5687 |
5688 Comment(";;; deoptimize: %s", instr->hydrogen()->reason()); | 5688 Comment(";;; deoptimize: %s", instr->hydrogen()->reason()); |
5689 DeoptimizeIf(al, instr->environment(), type, zero_reg, Operand(zero_reg)); | 5689 DeoptimizeIf(al, instr->environment(), type, zero_reg, Operand(zero_reg)); |
5690 } | 5690 } |
5691 | 5691 |
5692 | 5692 |
| 5693 void LCodeGen::DoDummy(LDummy* instr) { |
| 5694 // Nothing to see here, move on! |
| 5695 } |
| 5696 |
| 5697 |
5693 void LCodeGen::DoDummyUse(LDummyUse* instr) { | 5698 void LCodeGen::DoDummyUse(LDummyUse* instr) { |
5694 // Nothing to see here, move on! | 5699 // Nothing to see here, move on! |
5695 } | 5700 } |
5696 | 5701 |
5697 | 5702 |
5698 void LCodeGen::DoDeferredStackCheck(LStackCheck* instr) { | 5703 void LCodeGen::DoDeferredStackCheck(LStackCheck* instr) { |
5699 PushSafepointRegistersScope scope(this, Safepoint::kWithRegisters); | 5704 PushSafepointRegistersScope scope(this, Safepoint::kWithRegisters); |
5700 LoadContextFromDeferred(instr->context()); | 5705 LoadContextFromDeferred(instr->context()); |
5701 __ CallRuntimeSaveDoubles(Runtime::kStackGuard); | 5706 __ CallRuntimeSaveDoubles(Runtime::kStackGuard); |
5702 RecordSafepointWithLazyDeopt( | 5707 RecordSafepointWithLazyDeopt( |
(...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5861 __ Subu(scratch, result, scratch); | 5866 __ Subu(scratch, result, scratch); |
5862 __ lw(result, FieldMemOperand(scratch, | 5867 __ lw(result, FieldMemOperand(scratch, |
5863 FixedArray::kHeaderSize - kPointerSize)); | 5868 FixedArray::kHeaderSize - kPointerSize)); |
5864 __ bind(&done); | 5869 __ bind(&done); |
5865 } | 5870 } |
5866 | 5871 |
5867 | 5872 |
5868 #undef __ | 5873 #undef __ |
5869 | 5874 |
5870 } } // namespace v8::internal | 5875 } } // namespace v8::internal |
OLD | NEW |