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

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

Issue 1040183004: Generate common StoreFastElementStubs ahead of time (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 8 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/code-stubs.cc ('k') | src/mips/code-stubs-mips.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 #include "src/v8.h" 5 #include "src/v8.h"
6 6
7 #if V8_TARGET_ARCH_IA32 7 #if V8_TARGET_ARCH_IA32
8 8
9 #include "src/base/bits.h" 9 #include "src/base/bits.h"
10 #include "src/bootstrapper.h" 10 #include "src/bootstrapper.h"
(...skipping 2421 matching lines...) Expand 10 before | Expand all | Expand 10 after
2432 void CodeStub::GenerateStubsAheadOfTime(Isolate* isolate) { 2432 void CodeStub::GenerateStubsAheadOfTime(Isolate* isolate) {
2433 CEntryStub::GenerateAheadOfTime(isolate); 2433 CEntryStub::GenerateAheadOfTime(isolate);
2434 StoreBufferOverflowStub::GenerateFixedRegStubsAheadOfTime(isolate); 2434 StoreBufferOverflowStub::GenerateFixedRegStubsAheadOfTime(isolate);
2435 StubFailureTrampolineStub::GenerateAheadOfTime(isolate); 2435 StubFailureTrampolineStub::GenerateAheadOfTime(isolate);
2436 // It is important that the store buffer overflow stubs are generated first. 2436 // It is important that the store buffer overflow stubs are generated first.
2437 ArrayConstructorStubBase::GenerateStubsAheadOfTime(isolate); 2437 ArrayConstructorStubBase::GenerateStubsAheadOfTime(isolate);
2438 CreateAllocationSiteStub::GenerateAheadOfTime(isolate); 2438 CreateAllocationSiteStub::GenerateAheadOfTime(isolate);
2439 CreateWeakCellStub::GenerateAheadOfTime(isolate); 2439 CreateWeakCellStub::GenerateAheadOfTime(isolate);
2440 BinaryOpICStub::GenerateAheadOfTime(isolate); 2440 BinaryOpICStub::GenerateAheadOfTime(isolate);
2441 BinaryOpICWithAllocationSiteStub::GenerateAheadOfTime(isolate); 2441 BinaryOpICWithAllocationSiteStub::GenerateAheadOfTime(isolate);
2442 StoreFastElementStub::GenerateAheadOfTime(isolate);
2442 } 2443 }
2443 2444
2444 2445
2445 void CodeStub::GenerateFPStubs(Isolate* isolate) { 2446 void CodeStub::GenerateFPStubs(Isolate* isolate) {
2446 // Generate if not already in cache. 2447 // Generate if not already in cache.
2447 CEntryStub(isolate, 1, kSaveFPRegs).GetCode(); 2448 CEntryStub(isolate, 1, kSaveFPRegs).GetCode();
2448 isolate->set_fp_stubs_generated(true); 2449 isolate->set_fp_stubs_generated(true);
2449 } 2450 }
2450 2451
2451 2452
(...skipping 2951 matching lines...) Expand 10 before | Expand all | Expand 10 after
5403 ApiParameterOperand(2), kStackSpace, nullptr, 5404 ApiParameterOperand(2), kStackSpace, nullptr,
5404 Operand(ebp, 7 * kPointerSize), NULL); 5405 Operand(ebp, 7 * kPointerSize), NULL);
5405 } 5406 }
5406 5407
5407 5408
5408 #undef __ 5409 #undef __
5409 5410
5410 } } // namespace v8::internal 5411 } } // namespace v8::internal
5411 5412
5412 #endif // V8_TARGET_ARCH_IA32 5413 #endif // V8_TARGET_ARCH_IA32
OLDNEW
« no previous file with comments | « src/code-stubs.cc ('k') | src/mips/code-stubs-mips.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698