| 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 5632 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5643 // the special case below. | 5643 // the special case below. |
| 5644 if (info()->IsStub() && type == Deoptimizer::EAGER) { | 5644 if (info()->IsStub() && type == Deoptimizer::EAGER) { |
| 5645 type = Deoptimizer::LAZY; | 5645 type = Deoptimizer::LAZY; |
| 5646 } | 5646 } |
| 5647 | 5647 |
| 5648 Comment(";;; deoptimize: %s", instr->hydrogen()->reason()); | 5648 Comment(";;; deoptimize: %s", instr->hydrogen()->reason()); |
| 5649 DeoptimizeIf(al, instr->environment(), type); | 5649 DeoptimizeIf(al, instr->environment(), type); |
| 5650 } | 5650 } |
| 5651 | 5651 |
| 5652 | 5652 |
| 5653 void LCodeGen::DoDummy(LDummy* instr) { |
| 5654 // Nothing to see here, move on! |
| 5655 } |
| 5656 |
| 5657 |
| 5653 void LCodeGen::DoDummyUse(LDummyUse* instr) { | 5658 void LCodeGen::DoDummyUse(LDummyUse* instr) { |
| 5654 // Nothing to see here, move on! | 5659 // Nothing to see here, move on! |
| 5655 } | 5660 } |
| 5656 | 5661 |
| 5657 | 5662 |
| 5658 void LCodeGen::DoDeferredStackCheck(LStackCheck* instr) { | 5663 void LCodeGen::DoDeferredStackCheck(LStackCheck* instr) { |
| 5659 PushSafepointRegistersScope scope(this, Safepoint::kWithRegisters); | 5664 PushSafepointRegistersScope scope(this, Safepoint::kWithRegisters); |
| 5660 LoadContextFromDeferred(instr->context()); | 5665 LoadContextFromDeferred(instr->context()); |
| 5661 __ CallRuntimeSaveDoubles(Runtime::kStackGuard); | 5666 __ CallRuntimeSaveDoubles(Runtime::kStackGuard); |
| 5662 RecordSafepointWithLazyDeopt( | 5667 RecordSafepointWithLazyDeopt( |
| (...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5826 __ sub(scratch, result, Operand::PointerOffsetFromSmiKey(index)); | 5831 __ sub(scratch, result, Operand::PointerOffsetFromSmiKey(index)); |
| 5827 __ ldr(result, FieldMemOperand(scratch, | 5832 __ ldr(result, FieldMemOperand(scratch, |
| 5828 FixedArray::kHeaderSize - kPointerSize)); | 5833 FixedArray::kHeaderSize - kPointerSize)); |
| 5829 __ bind(&done); | 5834 __ bind(&done); |
| 5830 } | 5835 } |
| 5831 | 5836 |
| 5832 | 5837 |
| 5833 #undef __ | 5838 #undef __ |
| 5834 | 5839 |
| 5835 } } // namespace v8::internal | 5840 } } // namespace v8::internal |
| OLD | NEW |