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

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

Issue 1299213002: 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, 4 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/x64/stub-cache-x64.cc ('k') | src/mips64/code-stubs-mips64.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
4747 __ Branch(&not_array, ne, at, Operand(scratch1)); 4747 __ Branch(&not_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(&not_array); 4751 __ bind(&not_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
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
OLDNEW
« no previous file with comments | « src/ic/x64/stub-cache-x64.cc ('k') | src/mips64/code-stubs-mips64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698