| 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/code-stubs.h" | 9 #include "src/code-stubs.h" |
| 10 #include "src/codegen.h" | 10 #include "src/codegen.h" |
| (...skipping 3319 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3330 return Operand(elements_pointer_reg, | 3330 return Operand(elements_pointer_reg, |
| 3331 ToRegister(key), | 3331 ToRegister(key), |
| 3332 scale_factor, | 3332 scale_factor, |
| 3333 base_offset); | 3333 base_offset); |
| 3334 } | 3334 } |
| 3335 } | 3335 } |
| 3336 | 3336 |
| 3337 | 3337 |
| 3338 void LCodeGen::DoLoadKeyedGeneric(LLoadKeyedGeneric* instr) { | 3338 void LCodeGen::DoLoadKeyedGeneric(LLoadKeyedGeneric* instr) { |
| 3339 ASSERT(ToRegister(instr->context()).is(esi)); | 3339 ASSERT(ToRegister(instr->context()).is(esi)); |
| 3340 ASSERT(ToRegister(instr->object()).is(KeyedLoadIC::ReceiverRegister())); | 3340 ASSERT(ToRegister(instr->object()).is(LoadIC::ReceiverRegister())); |
| 3341 ASSERT(ToRegister(instr->key()).is(KeyedLoadIC::NameRegister())); | 3341 ASSERT(ToRegister(instr->key()).is(LoadIC::NameRegister())); |
| 3342 | 3342 |
| 3343 Handle<Code> ic = isolate()->builtins()->KeyedLoadIC_Initialize(); | 3343 Handle<Code> ic = isolate()->builtins()->KeyedLoadIC_Initialize(); |
| 3344 CallCode(ic, RelocInfo::CODE_TARGET, instr); | 3344 CallCode(ic, RelocInfo::CODE_TARGET, instr); |
| 3345 } | 3345 } |
| 3346 | 3346 |
| 3347 | 3347 |
| 3348 void LCodeGen::DoArgumentsElements(LArgumentsElements* instr) { | 3348 void LCodeGen::DoArgumentsElements(LArgumentsElements* instr) { |
| 3349 Register result = ToRegister(instr->result()); | 3349 Register result = ToRegister(instr->result()); |
| 3350 | 3350 |
| 3351 if (instr->hydrogen()->from_inlined()) { | 3351 if (instr->hydrogen()->from_inlined()) { |
| (...skipping 2346 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5698 CallRuntime(Runtime::kPushBlockContext, 2, instr); | 5698 CallRuntime(Runtime::kPushBlockContext, 2, instr); |
| 5699 RecordSafepoint(Safepoint::kNoLazyDeopt); | 5699 RecordSafepoint(Safepoint::kNoLazyDeopt); |
| 5700 } | 5700 } |
| 5701 | 5701 |
| 5702 | 5702 |
| 5703 #undef __ | 5703 #undef __ |
| 5704 | 5704 |
| 5705 } } // namespace v8::internal | 5705 } } // namespace v8::internal |
| 5706 | 5706 |
| 5707 #endif // V8_TARGET_ARCH_X87 | 5707 #endif // V8_TARGET_ARCH_X87 |
| OLD | NEW |