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

Side by Side Diff: src/ia32/code-stubs-ia32.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/arm64/code-stubs-arm64.cc ('k') | src/ic/arm/ic-arm.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_IA32 5 #if V8_TARGET_ARCH_IA32
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 4591 matching lines...) Expand 10 before | Expand all | Expand 10 after
4602 __ j(not_equal, &not_array); 4602 __ j(not_equal, &not_array);
4603 HandleArrayCases(masm, receiver, name, vector, slot, scratch, true, &miss); 4603 HandleArrayCases(masm, receiver, name, vector, slot, scratch, true, &miss);
4604 4604
4605 __ bind(&not_array); 4605 __ bind(&not_array);
4606 __ CompareRoot(scratch, Heap::kmegamorphic_symbolRootIndex); 4606 __ CompareRoot(scratch, Heap::kmegamorphic_symbolRootIndex);
4607 __ j(not_equal, &miss); 4607 __ j(not_equal, &miss);
4608 __ push(slot); 4608 __ push(slot);
4609 __ push(vector); 4609 __ push(vector);
4610 Code::Flags code_flags = Code::RemoveTypeAndHolderFromFlags( 4610 Code::Flags code_flags = Code::RemoveTypeAndHolderFromFlags(
4611 Code::ComputeHandlerFlags(Code::LOAD_IC)); 4611 Code::ComputeHandlerFlags(Code::LOAD_IC));
4612 masm->isolate()->stub_cache()->GenerateProbe( 4612 masm->isolate()->stub_cache()->GenerateProbe(masm, Code::LOAD_IC, code_flags,
4613 masm, Code::LOAD_IC, code_flags, false, receiver, name, vector, scratch); 4613 receiver, name, vector, scratch);
4614 __ pop(vector); 4614 __ pop(vector);
4615 __ pop(slot); 4615 __ pop(slot);
4616 4616
4617 __ bind(&miss); 4617 __ bind(&miss);
4618 LoadIC::GenerateMiss(masm); 4618 LoadIC::GenerateMiss(masm);
4619 } 4619 }
4620 4620
4621 4621
4622 void KeyedLoadICStub::Generate(MacroAssembler* masm) { 4622 void KeyedLoadICStub::Generate(MacroAssembler* masm) {
4623 GenerateImpl(masm, false); 4623 GenerateImpl(masm, false);
(...skipping 1034 matching lines...) Expand 10 before | Expand all | Expand 10 after
5658 Operand(ebp, 7 * kPointerSize), NULL); 5658 Operand(ebp, 7 * kPointerSize), NULL);
5659 } 5659 }
5660 5660
5661 5661
5662 #undef __ 5662 #undef __
5663 5663
5664 } // namespace internal 5664 } // namespace internal
5665 } // namespace v8 5665 } // namespace v8
5666 5666
5667 #endif // V8_TARGET_ARCH_IA32 5667 #endif // V8_TARGET_ARCH_IA32
OLDNEW
« no previous file with comments | « src/arm64/code-stubs-arm64.cc ('k') | src/ic/arm/ic-arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698