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_MIPS64 | 5 #if V8_TARGET_ARCH_MIPS64 |
6 | 6 |
7 #include "src/bootstrapper.h" | 7 #include "src/bootstrapper.h" |
8 #include "src/code-stubs.h" | 8 #include "src/code-stubs.h" |
9 #include "src/codegen.h" | 9 #include "src/codegen.h" |
10 #include "src/ic/handler-compiler.h" | 10 #include "src/ic/handler-compiler.h" |
(...skipping 4767 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4778 __ Branch(¬_array, ne, scratch1, Operand(at)); | 4778 __ Branch(¬_array, ne, scratch1, Operand(at)); |
4779 HandleArrayCases(masm, receiver, name, vector, slot, feedback, receiver_map, | 4779 HandleArrayCases(masm, receiver, name, vector, slot, feedback, receiver_map, |
4780 scratch1, a7, true, &miss); | 4780 scratch1, a7, true, &miss); |
4781 | 4781 |
4782 __ bind(¬_array); | 4782 __ bind(¬_array); |
4783 __ LoadRoot(at, Heap::kmegamorphic_symbolRootIndex); | 4783 __ LoadRoot(at, Heap::kmegamorphic_symbolRootIndex); |
4784 __ Branch(&miss, ne, feedback, Operand(at)); | 4784 __ Branch(&miss, ne, feedback, Operand(at)); |
4785 Code::Flags code_flags = Code::RemoveTypeAndHolderFromFlags( | 4785 Code::Flags code_flags = Code::RemoveTypeAndHolderFromFlags( |
4786 Code::ComputeHandlerFlags(Code::LOAD_IC)); | 4786 Code::ComputeHandlerFlags(Code::LOAD_IC)); |
4787 masm->isolate()->stub_cache()->GenerateProbe(masm, Code::LOAD_IC, code_flags, | 4787 masm->isolate()->stub_cache()->GenerateProbe(masm, Code::LOAD_IC, code_flags, |
4788 false, receiver, name, feedback, | 4788 receiver, name, feedback, |
4789 receiver_map, scratch1, a7); | 4789 receiver_map, scratch1, a7); |
4790 | 4790 |
4791 __ bind(&miss); | 4791 __ bind(&miss); |
4792 LoadIC::GenerateMiss(masm); | 4792 LoadIC::GenerateMiss(masm); |
4793 | 4793 |
4794 __ bind(&load_smi_map); | 4794 __ bind(&load_smi_map); |
4795 __ LoadRoot(receiver_map, Heap::kHeapNumberMapRootIndex); | 4795 __ LoadRoot(receiver_map, Heap::kHeapNumberMapRootIndex); |
4796 __ Branch(&compare_map); | 4796 __ Branch(&compare_map); |
4797 } | 4797 } |
4798 | 4798 |
(...skipping 955 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5754 MemOperand(fp, 6 * kPointerSize), NULL); | 5754 MemOperand(fp, 6 * kPointerSize), NULL); |
5755 } | 5755 } |
5756 | 5756 |
5757 | 5757 |
5758 #undef __ | 5758 #undef __ |
5759 | 5759 |
5760 } // namespace internal | 5760 } // namespace internal |
5761 } // namespace v8 | 5761 } // namespace v8 |
5762 | 5762 |
5763 #endif // V8_TARGET_ARCH_MIPS64 | 5763 #endif // V8_TARGET_ARCH_MIPS64 |
OLD | NEW |