OLD | NEW |
1 // Copyright 2014 the V8 project authors. All rights reserved. | 1 // Copyright 2014 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_PPC | 5 #if V8_TARGET_ARCH_PPC |
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 4762 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4773 __ bne(¬_array); | 4773 __ bne(¬_array); |
4774 HandleArrayCases(masm, receiver, name, vector, slot, feedback, receiver_map, | 4774 HandleArrayCases(masm, receiver, name, vector, slot, feedback, receiver_map, |
4775 scratch1, r10, true, &miss); | 4775 scratch1, r10, true, &miss); |
4776 | 4776 |
4777 __ bind(¬_array); | 4777 __ bind(¬_array); |
4778 __ CompareRoot(feedback, Heap::kmegamorphic_symbolRootIndex); | 4778 __ CompareRoot(feedback, Heap::kmegamorphic_symbolRootIndex); |
4779 __ bne(&miss); | 4779 __ bne(&miss); |
4780 Code::Flags code_flags = Code::RemoveTypeAndHolderFromFlags( | 4780 Code::Flags code_flags = Code::RemoveTypeAndHolderFromFlags( |
4781 Code::ComputeHandlerFlags(Code::LOAD_IC)); | 4781 Code::ComputeHandlerFlags(Code::LOAD_IC)); |
4782 masm->isolate()->stub_cache()->GenerateProbe(masm, Code::LOAD_IC, code_flags, | 4782 masm->isolate()->stub_cache()->GenerateProbe(masm, Code::LOAD_IC, code_flags, |
4783 false, receiver, name, feedback, | 4783 receiver, name, feedback, |
4784 receiver_map, scratch1, r10); | 4784 receiver_map, scratch1, r10); |
4785 | 4785 |
4786 __ bind(&miss); | 4786 __ bind(&miss); |
4787 LoadIC::GenerateMiss(masm); | 4787 LoadIC::GenerateMiss(masm); |
4788 | 4788 |
4789 __ bind(&load_smi_map); | 4789 __ bind(&load_smi_map); |
4790 __ LoadRoot(receiver_map, Heap::kHeapNumberMapRootIndex); | 4790 __ LoadRoot(receiver_map, Heap::kHeapNumberMapRootIndex); |
4791 __ b(&compare_map); | 4791 __ b(&compare_map); |
4792 } | 4792 } |
4793 | 4793 |
(...skipping 1039 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5833 kStackUnwindSpace, NULL, | 5833 kStackUnwindSpace, NULL, |
5834 MemOperand(fp, 6 * kPointerSize), NULL); | 5834 MemOperand(fp, 6 * kPointerSize), NULL); |
5835 } | 5835 } |
5836 | 5836 |
5837 | 5837 |
5838 #undef __ | 5838 #undef __ |
5839 } // namespace internal | 5839 } // namespace internal |
5840 } // namespace v8 | 5840 } // namespace v8 |
5841 | 5841 |
5842 #endif // V8_TARGET_ARCH_PPC | 5842 #endif // V8_TARGET_ARCH_PPC |
OLD | NEW |