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 5696 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5707 // the special case below. | 5707 // the special case below. |
5708 if (info()->IsStub() && type == Deoptimizer::EAGER) { | 5708 if (info()->IsStub() && type == Deoptimizer::EAGER) { |
5709 type = Deoptimizer::LAZY; | 5709 type = Deoptimizer::LAZY; |
5710 } | 5710 } |
5711 | 5711 |
5712 Comment(";;; deoptimize: %s", instr->hydrogen()->reason()); | 5712 Comment(";;; deoptimize: %s", instr->hydrogen()->reason()); |
5713 DeoptimizeIf(al, instr->environment(), type); | 5713 DeoptimizeIf(al, instr->environment(), type); |
5714 } | 5714 } |
5715 | 5715 |
5716 | 5716 |
| 5717 void LCodeGen::DoDummy(LDummy* instr) { |
| 5718 // Nothing to see here, move on! |
| 5719 } |
| 5720 |
| 5721 |
5717 void LCodeGen::DoDummyUse(LDummyUse* instr) { | 5722 void LCodeGen::DoDummyUse(LDummyUse* instr) { |
5718 // Nothing to see here, move on! | 5723 // Nothing to see here, move on! |
5719 } | 5724 } |
5720 | 5725 |
5721 | 5726 |
5722 void LCodeGen::DoDeferredStackCheck(LStackCheck* instr) { | 5727 void LCodeGen::DoDeferredStackCheck(LStackCheck* instr) { |
5723 PushSafepointRegistersScope scope(this, Safepoint::kWithRegisters); | 5728 PushSafepointRegistersScope scope(this, Safepoint::kWithRegisters); |
5724 LoadContextFromDeferred(instr->context()); | 5729 LoadContextFromDeferred(instr->context()); |
5725 __ CallRuntimeSaveDoubles(Runtime::kStackGuard); | 5730 __ CallRuntimeSaveDoubles(Runtime::kStackGuard); |
5726 RecordSafepointWithLazyDeopt( | 5731 RecordSafepointWithLazyDeopt( |
(...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5890 __ sub(scratch, result, Operand::PointerOffsetFromSmiKey(index)); | 5895 __ sub(scratch, result, Operand::PointerOffsetFromSmiKey(index)); |
5891 __ ldr(result, FieldMemOperand(scratch, | 5896 __ ldr(result, FieldMemOperand(scratch, |
5892 FixedArray::kHeaderSize - kPointerSize)); | 5897 FixedArray::kHeaderSize - kPointerSize)); |
5893 __ bind(&done); | 5898 __ bind(&done); |
5894 } | 5899 } |
5895 | 5900 |
5896 | 5901 |
5897 #undef __ | 5902 #undef __ |
5898 | 5903 |
5899 } } // namespace v8::internal | 5904 } } // namespace v8::internal |
OLD | NEW |