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

Side by Side Diff: src/x64/code-stubs-x64.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/ppc/code-stubs-ppc.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 2013 the V8 project authors. All rights reserved. 1 // Copyright 2013 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_X64 7 #if V8_TARGET_ARCH_X64
8 8
9 #include "src/bootstrapper.h" 9 #include "src/bootstrapper.h"
10 #include "src/code-stubs.h" 10 #include "src/code-stubs.h"
(...skipping 2300 matching lines...) Expand 10 before | Expand all | Expand 10 after
2311 void CodeStub::GenerateStubsAheadOfTime(Isolate* isolate) { 2311 void CodeStub::GenerateStubsAheadOfTime(Isolate* isolate) {
2312 CEntryStub::GenerateAheadOfTime(isolate); 2312 CEntryStub::GenerateAheadOfTime(isolate);
2313 StoreBufferOverflowStub::GenerateFixedRegStubsAheadOfTime(isolate); 2313 StoreBufferOverflowStub::GenerateFixedRegStubsAheadOfTime(isolate);
2314 StubFailureTrampolineStub::GenerateAheadOfTime(isolate); 2314 StubFailureTrampolineStub::GenerateAheadOfTime(isolate);
2315 // It is important that the store buffer overflow stubs are generated first. 2315 // It is important that the store buffer overflow stubs are generated first.
2316 ArrayConstructorStubBase::GenerateStubsAheadOfTime(isolate); 2316 ArrayConstructorStubBase::GenerateStubsAheadOfTime(isolate);
2317 CreateAllocationSiteStub::GenerateAheadOfTime(isolate); 2317 CreateAllocationSiteStub::GenerateAheadOfTime(isolate);
2318 CreateWeakCellStub::GenerateAheadOfTime(isolate); 2318 CreateWeakCellStub::GenerateAheadOfTime(isolate);
2319 BinaryOpICStub::GenerateAheadOfTime(isolate); 2319 BinaryOpICStub::GenerateAheadOfTime(isolate);
2320 BinaryOpICWithAllocationSiteStub::GenerateAheadOfTime(isolate); 2320 BinaryOpICWithAllocationSiteStub::GenerateAheadOfTime(isolate);
2321 StoreFastElementStub::GenerateAheadOfTime(isolate);
2321 } 2322 }
2322 2323
2323 2324
2324 void CodeStub::GenerateFPStubs(Isolate* isolate) { 2325 void CodeStub::GenerateFPStubs(Isolate* isolate) {
2325 } 2326 }
2326 2327
2327 2328
2328 void CEntryStub::GenerateAheadOfTime(Isolate* isolate) { 2329 void CEntryStub::GenerateAheadOfTime(Isolate* isolate) {
2329 CEntryStub stub(isolate, 1, kDontSaveFPRegs); 2330 CEntryStub stub(isolate, 1, kDontSaveFPRegs);
2330 stub.GetCode(); 2331 stub.GetCode();
(...skipping 3027 matching lines...) Expand 10 before | Expand all | Expand 10 after
5358 CallApiFunctionAndReturn(masm, api_function_address, thunk_ref, getter_arg, 5359 CallApiFunctionAndReturn(masm, api_function_address, thunk_ref, getter_arg,
5359 kStackSpace, nullptr, return_value_operand, NULL); 5360 kStackSpace, nullptr, return_value_operand, NULL);
5360 } 5361 }
5361 5362
5362 5363
5363 #undef __ 5364 #undef __
5364 5365
5365 } } // namespace v8::internal 5366 } } // namespace v8::internal
5366 5367
5367 #endif // V8_TARGET_ARCH_X64 5368 #endif // V8_TARGET_ARCH_X64
OLDNEW
« no previous file with comments | « src/ppc/code-stubs-ppc.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698