| 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 #include "src/arm/lithium-codegen-arm.h" | 7 #include "src/arm/lithium-codegen-arm.h" |
| 8 #include "src/arm/lithium-gap-resolver-arm.h" | 8 #include "src/arm/lithium-gap-resolver-arm.h" |
| 9 #include "src/code-stubs.h" | 9 #include "src/code-stubs.h" |
| 10 #include "src/hydrogen-osr.h" | 10 #include "src/hydrogen-osr.h" |
| (...skipping 3376 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3387 } else { | 3387 } else { |
| 3388 ASSERT_EQ(-1, shift_size); | 3388 ASSERT_EQ(-1, shift_size); |
| 3389 __ add(scratch0(), base, Operand(key, ASR, 1)); | 3389 __ add(scratch0(), base, Operand(key, ASR, 1)); |
| 3390 return MemOperand(scratch0(), base_offset); | 3390 return MemOperand(scratch0(), base_offset); |
| 3391 } | 3391 } |
| 3392 } | 3392 } |
| 3393 | 3393 |
| 3394 | 3394 |
| 3395 void LCodeGen::DoLoadKeyedGeneric(LLoadKeyedGeneric* instr) { | 3395 void LCodeGen::DoLoadKeyedGeneric(LLoadKeyedGeneric* instr) { |
| 3396 ASSERT(ToRegister(instr->context()).is(cp)); | 3396 ASSERT(ToRegister(instr->context()).is(cp)); |
| 3397 ASSERT(ToRegister(instr->object()).is(KeyedLoadIC::ReceiverRegister())); | 3397 ASSERT(ToRegister(instr->object()).is(LoadIC::ReceiverRegister())); |
| 3398 ASSERT(ToRegister(instr->key()).is(KeyedLoadIC::NameRegister())); | 3398 ASSERT(ToRegister(instr->key()).is(LoadIC::NameRegister())); |
| 3399 | 3399 |
| 3400 Handle<Code> ic = isolate()->builtins()->KeyedLoadIC_Initialize(); | 3400 Handle<Code> ic = isolate()->builtins()->KeyedLoadIC_Initialize(); |
| 3401 CallCode(ic, RelocInfo::CODE_TARGET, instr, NEVER_INLINE_TARGET_ADDRESS); | 3401 CallCode(ic, RelocInfo::CODE_TARGET, instr, NEVER_INLINE_TARGET_ADDRESS); |
| 3402 } | 3402 } |
| 3403 | 3403 |
| 3404 | 3404 |
| 3405 void LCodeGen::DoArgumentsElements(LArgumentsElements* instr) { | 3405 void LCodeGen::DoArgumentsElements(LArgumentsElements* instr) { |
| 3406 Register scratch = scratch0(); | 3406 Register scratch = scratch0(); |
| 3407 Register result = ToRegister(instr->result()); | 3407 Register result = ToRegister(instr->result()); |
| 3408 | 3408 |
| (...skipping 2435 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5844 __ Push(scope_info); | 5844 __ Push(scope_info); |
| 5845 __ push(ToRegister(instr->function())); | 5845 __ push(ToRegister(instr->function())); |
| 5846 CallRuntime(Runtime::kPushBlockContext, 2, instr); | 5846 CallRuntime(Runtime::kPushBlockContext, 2, instr); |
| 5847 RecordSafepoint(Safepoint::kNoLazyDeopt); | 5847 RecordSafepoint(Safepoint::kNoLazyDeopt); |
| 5848 } | 5848 } |
| 5849 | 5849 |
| 5850 | 5850 |
| 5851 #undef __ | 5851 #undef __ |
| 5852 | 5852 |
| 5853 } } // namespace v8::internal | 5853 } } // namespace v8::internal |
| OLD | NEW |