OLD | NEW |
1 // Copyright 2013 the V8 project authors. All rights reserved. | 1 // Copyright 2013 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_ARM64 | 5 #if V8_TARGET_ARCH_ARM64 |
6 | 6 |
7 #include "src/arm64/frames-arm64.h" | 7 #include "src/arm64/frames-arm64.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 4652 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4663 __ Ldr(scratch1, FieldMemOperand(feedback, HeapObject::kMapOffset)); | 4663 __ Ldr(scratch1, FieldMemOperand(feedback, HeapObject::kMapOffset)); |
4664 __ JumpIfNotRoot(scratch1, Heap::kFixedArrayMapRootIndex, ¬_array); | 4664 __ JumpIfNotRoot(scratch1, Heap::kFixedArrayMapRootIndex, ¬_array); |
4665 HandleArrayCases(masm, receiver, name, vector, slot, feedback, receiver_map, | 4665 HandleArrayCases(masm, receiver, name, vector, slot, feedback, receiver_map, |
4666 scratch1, x7, true, &miss); | 4666 scratch1, x7, true, &miss); |
4667 | 4667 |
4668 __ Bind(¬_array); | 4668 __ Bind(¬_array); |
4669 __ JumpIfNotRoot(feedback, Heap::kmegamorphic_symbolRootIndex, &miss); | 4669 __ JumpIfNotRoot(feedback, Heap::kmegamorphic_symbolRootIndex, &miss); |
4670 Code::Flags code_flags = Code::RemoveTypeAndHolderFromFlags( | 4670 Code::Flags code_flags = Code::RemoveTypeAndHolderFromFlags( |
4671 Code::ComputeHandlerFlags(Code::LOAD_IC)); | 4671 Code::ComputeHandlerFlags(Code::LOAD_IC)); |
4672 masm->isolate()->stub_cache()->GenerateProbe(masm, Code::LOAD_IC, code_flags, | 4672 masm->isolate()->stub_cache()->GenerateProbe(masm, Code::LOAD_IC, code_flags, |
4673 false, receiver, name, feedback, | 4673 receiver, name, feedback, |
4674 receiver_map, scratch1, x7); | 4674 receiver_map, scratch1, x7); |
4675 | 4675 |
4676 __ Bind(&miss); | 4676 __ Bind(&miss); |
4677 LoadIC::GenerateMiss(masm); | 4677 LoadIC::GenerateMiss(masm); |
4678 | 4678 |
4679 __ Bind(&load_smi_map); | 4679 __ Bind(&load_smi_map); |
4680 __ LoadRoot(receiver_map, Heap::kHeapNumberMapRootIndex); | 4680 __ LoadRoot(receiver_map, Heap::kHeapNumberMapRootIndex); |
4681 __ jmp(&compare_map); | 4681 __ jmp(&compare_map); |
4682 } | 4682 } |
4683 | 4683 |
(...skipping 1308 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5992 MemOperand(fp, 6 * kPointerSize), NULL); | 5992 MemOperand(fp, 6 * kPointerSize), NULL); |
5993 } | 5993 } |
5994 | 5994 |
5995 | 5995 |
5996 #undef __ | 5996 #undef __ |
5997 | 5997 |
5998 } // namespace internal | 5998 } // namespace internal |
5999 } // namespace v8 | 5999 } // namespace v8 |
6000 | 6000 |
6001 #endif // V8_TARGET_ARCH_ARM64 | 6001 #endif // V8_TARGET_ARCH_ARM64 |
OLD | NEW |