| 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_ARM | 5 #if V8_TARGET_ARCH_ARM |
| 6 | 6 |
| 7 #include "src/base/bits.h" | 7 #include "src/base/bits.h" |
| 8 #include "src/bootstrapper.h" | 8 #include "src/bootstrapper.h" |
| 9 #include "src/code-stubs.h" | 9 #include "src/code-stubs.h" |
| 10 #include "src/codegen.h" | 10 #include "src/codegen.h" |
| (...skipping 4519 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4530 __ b(ne, ¬_array); | 4530 __ b(ne, ¬_array); |
| 4531 HandleArrayCases(masm, receiver, name, vector, slot, feedback, receiver_map, | 4531 HandleArrayCases(masm, receiver, name, vector, slot, feedback, receiver_map, |
| 4532 scratch1, r9, true, &miss); | 4532 scratch1, r9, true, &miss); |
| 4533 | 4533 |
| 4534 __ bind(¬_array); | 4534 __ bind(¬_array); |
| 4535 __ CompareRoot(feedback, Heap::kmegamorphic_symbolRootIndex); | 4535 __ CompareRoot(feedback, Heap::kmegamorphic_symbolRootIndex); |
| 4536 __ b(ne, &miss); | 4536 __ b(ne, &miss); |
| 4537 Code::Flags code_flags = Code::RemoveTypeAndHolderFromFlags( | 4537 Code::Flags code_flags = Code::RemoveTypeAndHolderFromFlags( |
| 4538 Code::ComputeHandlerFlags(Code::LOAD_IC)); | 4538 Code::ComputeHandlerFlags(Code::LOAD_IC)); |
| 4539 masm->isolate()->stub_cache()->GenerateProbe(masm, Code::LOAD_IC, code_flags, | 4539 masm->isolate()->stub_cache()->GenerateProbe(masm, Code::LOAD_IC, code_flags, |
| 4540 false, receiver, name, feedback, | 4540 receiver, name, feedback, |
| 4541 receiver_map, scratch1, r9); | 4541 receiver_map, scratch1, r9); |
| 4542 | 4542 |
| 4543 __ bind(&miss); | 4543 __ bind(&miss); |
| 4544 LoadIC::GenerateMiss(masm); | 4544 LoadIC::GenerateMiss(masm); |
| 4545 | 4545 |
| 4546 | 4546 |
| 4547 __ bind(&load_smi_map); | 4547 __ bind(&load_smi_map); |
| 4548 __ LoadRoot(receiver_map, Heap::kHeapNumberMapRootIndex); | 4548 __ LoadRoot(receiver_map, Heap::kHeapNumberMapRootIndex); |
| 4549 __ jmp(&compare_map); | 4549 __ jmp(&compare_map); |
| 4550 } | 4550 } |
| (...skipping 977 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5528 MemOperand(fp, 6 * kPointerSize), NULL); | 5528 MemOperand(fp, 6 * kPointerSize), NULL); |
| 5529 } | 5529 } |
| 5530 | 5530 |
| 5531 | 5531 |
| 5532 #undef __ | 5532 #undef __ |
| 5533 | 5533 |
| 5534 } // namespace internal | 5534 } // namespace internal |
| 5535 } // namespace v8 | 5535 } // namespace v8 |
| 5536 | 5536 |
| 5537 #endif // V8_TARGET_ARCH_ARM | 5537 #endif // V8_TARGET_ARCH_ARM |
| OLD | NEW |