| OLD | NEW |
| 1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 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 #include "src/v8.h" | 5 #include "src/v8.h" |
| 6 | 6 |
| 7 #if V8_TARGET_ARCH_X87 | 7 #if V8_TARGET_ARCH_X87 |
| 8 | 8 |
| 9 #include "src/x87/lithium-codegen-x87.h" | 9 #include "src/x87/lithium-codegen-x87.h" |
| 10 #include "src/ic.h" | 10 #include "src/ic.h" |
| (...skipping 5662 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5673 // Index is now equal to out of object property index plus 1. | 5673 // Index is now equal to out of object property index plus 1. |
| 5674 __ mov(object, FieldOperand(object, | 5674 __ mov(object, FieldOperand(object, |
| 5675 index, | 5675 index, |
| 5676 times_half_pointer_size, | 5676 times_half_pointer_size, |
| 5677 FixedArray::kHeaderSize - kPointerSize)); | 5677 FixedArray::kHeaderSize - kPointerSize)); |
| 5678 __ bind(deferred->exit()); | 5678 __ bind(deferred->exit()); |
| 5679 __ bind(&done); | 5679 __ bind(&done); |
| 5680 } | 5680 } |
| 5681 | 5681 |
| 5682 | 5682 |
| 5683 void LCodeGen::DoStoreFrameContext(LStoreFrameContext* instr) { |
| 5684 Register context = ToRegister(instr->context()); |
| 5685 __ mov(Operand(ebp, StandardFrameConstants::kContextOffset), context); |
| 5686 } |
| 5687 |
| 5688 |
| 5689 void LCodeGen::DoAllocateBlockContext(LAllocateBlockContext* instr) { |
| 5690 Handle<ScopeInfo> scope_info = instr->scope_info(); |
| 5691 __ Push(scope_info); |
| 5692 __ push(ToRegister(instr->function())); |
| 5693 CallRuntime(Runtime::kHiddenPushBlockContext, 2, instr); |
| 5694 RecordSafepoint(Safepoint::kNoLazyDeopt); |
| 5695 } |
| 5696 |
| 5697 |
| 5683 #undef __ | 5698 #undef __ |
| 5684 | 5699 |
| 5685 } } // namespace v8::internal | 5700 } } // namespace v8::internal |
| 5686 | 5701 |
| 5687 #endif // V8_TARGET_ARCH_X87 | 5702 #endif // V8_TARGET_ARCH_X87 |
| OLD | NEW |