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 #if V8_TARGET_ARCH_IA32 | 5 #if V8_TARGET_ARCH_IA32 |
6 | 6 |
7 #include "src/crankshaft/ia32/lithium-codegen-ia32.h" | 7 #include "src/crankshaft/ia32/lithium-codegen-ia32.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 5263 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5274 __ neg(index); | 5274 __ neg(index); |
5275 // Index is now equal to out of object property index plus 1. | 5275 // Index is now equal to out of object property index plus 1. |
5276 __ mov(object, FieldOperand(object, | 5276 __ mov(object, FieldOperand(object, |
5277 index, | 5277 index, |
5278 times_half_pointer_size, | 5278 times_half_pointer_size, |
5279 FixedArray::kHeaderSize - kPointerSize)); | 5279 FixedArray::kHeaderSize - kPointerSize)); |
5280 __ bind(deferred->exit()); | 5280 __ bind(deferred->exit()); |
5281 __ bind(&done); | 5281 __ bind(&done); |
5282 } | 5282 } |
5283 | 5283 |
5284 | |
5285 void LCodeGen::DoStoreFrameContext(LStoreFrameContext* instr) { | |
5286 Register context = ToRegister(instr->context()); | |
5287 __ mov(Operand(ebp, StandardFrameConstants::kContextOffset), context); | |
5288 } | |
5289 | |
5290 | |
5291 #undef __ | 5284 #undef __ |
5292 | 5285 |
5293 } // namespace internal | 5286 } // namespace internal |
5294 } // namespace v8 | 5287 } // namespace v8 |
5295 | 5288 |
5296 #endif // V8_TARGET_ARCH_IA32 | 5289 #endif // V8_TARGET_ARCH_IA32 |
OLD | NEW |