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

Side by Side Diff: src/arm/code-stubs-arm.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 | « no previous file | src/arm64/code-stubs-arm64.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_ARM 7 #if V8_TARGET_ARCH_ARM
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 902 matching lines...) Expand 10 before | Expand all | Expand 10 after
913 913
914 void CodeStub::GenerateStubsAheadOfTime(Isolate* isolate) { 914 void CodeStub::GenerateStubsAheadOfTime(Isolate* isolate) {
915 CEntryStub::GenerateAheadOfTime(isolate); 915 CEntryStub::GenerateAheadOfTime(isolate);
916 StoreBufferOverflowStub::GenerateFixedRegStubsAheadOfTime(isolate); 916 StoreBufferOverflowStub::GenerateFixedRegStubsAheadOfTime(isolate);
917 StubFailureTrampolineStub::GenerateAheadOfTime(isolate); 917 StubFailureTrampolineStub::GenerateAheadOfTime(isolate);
918 ArrayConstructorStubBase::GenerateStubsAheadOfTime(isolate); 918 ArrayConstructorStubBase::GenerateStubsAheadOfTime(isolate);
919 CreateAllocationSiteStub::GenerateAheadOfTime(isolate); 919 CreateAllocationSiteStub::GenerateAheadOfTime(isolate);
920 CreateWeakCellStub::GenerateAheadOfTime(isolate); 920 CreateWeakCellStub::GenerateAheadOfTime(isolate);
921 BinaryOpICStub::GenerateAheadOfTime(isolate); 921 BinaryOpICStub::GenerateAheadOfTime(isolate);
922 BinaryOpICWithAllocationSiteStub::GenerateAheadOfTime(isolate); 922 BinaryOpICWithAllocationSiteStub::GenerateAheadOfTime(isolate);
923 StoreFastElementStub::GenerateAheadOfTime(isolate);
923 } 924 }
924 925
925 926
926 void CodeStub::GenerateFPStubs(Isolate* isolate) { 927 void CodeStub::GenerateFPStubs(Isolate* isolate) {
927 // Generate if not already in cache. 928 // Generate if not already in cache.
928 SaveFPRegsMode mode = kSaveFPRegs; 929 SaveFPRegsMode mode = kSaveFPRegs;
929 CEntryStub(isolate, 1, mode).GetCode(); 930 CEntryStub(isolate, 1, mode).GetCode();
930 StoreBufferOverflowStub(isolate, mode).GetCode(); 931 StoreBufferOverflowStub(isolate, mode).GetCode();
931 isolate->set_fp_stubs_generated(true); 932 isolate->set_fp_stubs_generated(true);
932 } 933 }
(...skipping 4350 matching lines...) Expand 10 before | Expand all | Expand 10 after
5283 kStackUnwindSpace, NULL, 5284 kStackUnwindSpace, NULL,
5284 MemOperand(fp, 6 * kPointerSize), NULL); 5285 MemOperand(fp, 6 * kPointerSize), NULL);
5285 } 5286 }
5286 5287
5287 5288
5288 #undef __ 5289 #undef __
5289 5290
5290 } } // namespace v8::internal 5291 } } // namespace v8::internal
5291 5292
5292 #endif // V8_TARGET_ARCH_ARM 5293 #endif // V8_TARGET_ARCH_ARM
OLDNEW
« no previous file with comments | « no previous file | src/arm64/code-stubs-arm64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698