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_MIPS | 5 #if V8_TARGET_ARCH_MIPS |
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 4736 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4747 __ Branch(¬_array, ne, at, Operand(scratch1)); | 4747 __ Branch(¬_array, ne, at, Operand(scratch1)); |
4748 HandleArrayCases(masm, receiver, name, vector, slot, feedback, receiver_map, | 4748 HandleArrayCases(masm, receiver, name, vector, slot, feedback, receiver_map, |
4749 scratch1, t5, true, &miss); | 4749 scratch1, t5, true, &miss); |
4750 | 4750 |
4751 __ bind(¬_array); | 4751 __ bind(¬_array); |
4752 __ LoadRoot(at, Heap::kmegamorphic_symbolRootIndex); | 4752 __ LoadRoot(at, Heap::kmegamorphic_symbolRootIndex); |
4753 __ Branch(&miss, ne, at, Operand(feedback)); | 4753 __ Branch(&miss, ne, at, Operand(feedback)); |
4754 Code::Flags code_flags = Code::RemoveTypeAndHolderFromFlags( | 4754 Code::Flags code_flags = Code::RemoveTypeAndHolderFromFlags( |
4755 Code::ComputeHandlerFlags(Code::LOAD_IC)); | 4755 Code::ComputeHandlerFlags(Code::LOAD_IC)); |
4756 masm->isolate()->stub_cache()->GenerateProbe(masm, Code::LOAD_IC, code_flags, | 4756 masm->isolate()->stub_cache()->GenerateProbe(masm, Code::LOAD_IC, code_flags, |
4757 false, receiver, name, feedback, | 4757 receiver, name, feedback, |
4758 receiver_map, scratch1, t5); | 4758 receiver_map, scratch1, t5); |
4759 | 4759 |
4760 __ bind(&miss); | 4760 __ bind(&miss); |
4761 LoadIC::GenerateMiss(masm); | 4761 LoadIC::GenerateMiss(masm); |
4762 | 4762 |
4763 __ bind(&load_smi_map); | 4763 __ bind(&load_smi_map); |
4764 __ LoadRoot(receiver_map, Heap::kHeapNumberMapRootIndex); | 4764 __ LoadRoot(receiver_map, Heap::kHeapNumberMapRootIndex); |
4765 __ jmp(&compare_map); | 4765 __ jmp(&compare_map); |
4766 } | 4766 } |
4767 | 4767 |
(...skipping 954 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5722 MemOperand(fp, 6 * kPointerSize), NULL); | 5722 MemOperand(fp, 6 * kPointerSize), NULL); |
5723 } | 5723 } |
5724 | 5724 |
5725 | 5725 |
5726 #undef __ | 5726 #undef __ |
5727 | 5727 |
5728 } // namespace internal | 5728 } // namespace internal |
5729 } // namespace v8 | 5729 } // namespace v8 |
5730 | 5730 |
5731 #endif // V8_TARGET_ARCH_MIPS | 5731 #endif // V8_TARGET_ARCH_MIPS |
OLD | NEW |