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

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

Issue 1303973004: X87: 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/x87/stub-cache-x87.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 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_X87 5 #if V8_TARGET_ARCH_X87
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 4271 matching lines...) Expand 10 before | Expand all | Expand 10 after
4282 __ j(not_equal, &not_array); 4282 __ j(not_equal, &not_array);
4283 HandleArrayCases(masm, receiver, name, vector, slot, scratch, true, &miss); 4283 HandleArrayCases(masm, receiver, name, vector, slot, scratch, true, &miss);
4284 4284
4285 __ bind(&not_array); 4285 __ bind(&not_array);
4286 __ CompareRoot(scratch, Heap::kmegamorphic_symbolRootIndex); 4286 __ CompareRoot(scratch, Heap::kmegamorphic_symbolRootIndex);
4287 __ j(not_equal, &miss); 4287 __ j(not_equal, &miss);
4288 __ push(slot); 4288 __ push(slot);
4289 __ push(vector); 4289 __ push(vector);
4290 Code::Flags code_flags = Code::RemoveTypeAndHolderFromFlags( 4290 Code::Flags code_flags = Code::RemoveTypeAndHolderFromFlags(
4291 Code::ComputeHandlerFlags(Code::LOAD_IC)); 4291 Code::ComputeHandlerFlags(Code::LOAD_IC));
4292 masm->isolate()->stub_cache()->GenerateProbe( 4292 masm->isolate()->stub_cache()->GenerateProbe(masm, Code::LOAD_IC, code_flags,
4293 masm, Code::LOAD_IC, code_flags, false, receiver, name, vector, scratch); 4293 receiver, name, vector, scratch);
4294 __ pop(vector); 4294 __ pop(vector);
4295 __ pop(slot); 4295 __ pop(slot);
4296 4296
4297 __ bind(&miss); 4297 __ bind(&miss);
4298 LoadIC::GenerateMiss(masm); 4298 LoadIC::GenerateMiss(masm);
4299 } 4299 }
4300 4300
4301 4301
4302 void KeyedLoadICStub::Generate(MacroAssembler* masm) { 4302 void KeyedLoadICStub::Generate(MacroAssembler* masm) {
4303 GenerateImpl(masm, false); 4303 GenerateImpl(masm, false);
(...skipping 1034 matching lines...) Expand 10 before | Expand all | Expand 10 after
5338 Operand(ebp, 7 * kPointerSize), NULL); 5338 Operand(ebp, 7 * kPointerSize), NULL);
5339 } 5339 }
5340 5340
5341 5341
5342 #undef __ 5342 #undef __
5343 5343
5344 } // namespace internal 5344 } // namespace internal
5345 } // namespace v8 5345 } // namespace v8
5346 5346
5347 #endif // V8_TARGET_ARCH_X87 5347 #endif // V8_TARGET_ARCH_X87
OLDNEW
« no previous file with comments | « src/ic/x87/stub-cache-x87.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698