Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(19)

Side by Side Diff: src/ppc/code-stubs-ppc.cc

Issue 1321483003: PPC: Cleanup: Remove unncessary leave_frame parameter from stub cache. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/ic/ppc/stub-cache-ppc.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
4773 __ bne(&not_array); 4773 __ bne(&not_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(&not_array); 4777 __ bind(&not_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
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
OLDNEW
« no previous file with comments | « src/ic/ppc/stub-cache-ppc.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698