OLD | NEW |
1 // Copyright 2013 the V8 project authors. All rights reserved. | 1 // Copyright 2013 the V8 project authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #if V8_TARGET_ARCH_X64 | 5 #if V8_TARGET_ARCH_X64 |
6 | 6 |
7 #include "src/crankshaft/x64/lithium-codegen-x64.h" | 7 #include "src/crankshaft/x64/lithium-codegen-x64.h" |
8 | 8 |
9 #include "src/base/bits.h" | 9 #include "src/base/bits.h" |
10 #include "src/code-factory.h" | 10 #include "src/code-factory.h" |
(...skipping 5575 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5586 __ negl(index); | 5586 __ negl(index); |
5587 // Index is now equal to out of object property index plus 1. | 5587 // Index is now equal to out of object property index plus 1. |
5588 __ movp(object, FieldOperand(object, | 5588 __ movp(object, FieldOperand(object, |
5589 index, | 5589 index, |
5590 times_pointer_size, | 5590 times_pointer_size, |
5591 FixedArray::kHeaderSize - kPointerSize)); | 5591 FixedArray::kHeaderSize - kPointerSize)); |
5592 __ bind(deferred->exit()); | 5592 __ bind(deferred->exit()); |
5593 __ bind(&done); | 5593 __ bind(&done); |
5594 } | 5594 } |
5595 | 5595 |
5596 | |
5597 void LCodeGen::DoStoreFrameContext(LStoreFrameContext* instr) { | |
5598 Register context = ToRegister(instr->context()); | |
5599 __ movp(Operand(rbp, StandardFrameConstants::kContextOffset), context); | |
5600 } | |
5601 | |
5602 | |
5603 #undef __ | 5596 #undef __ |
5604 | 5597 |
5605 } // namespace internal | 5598 } // namespace internal |
5606 } // namespace v8 | 5599 } // namespace v8 |
5607 | 5600 |
5608 #endif // V8_TARGET_ARCH_X64 | 5601 #endif // V8_TARGET_ARCH_X64 |
OLD | NEW |