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

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

Issue 1114563003: Optimize the typeof operator. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: REBASE. Created 5 years, 7 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/runtime/runtime-object.cc ('k') | src/x64/full-codegen-x64.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 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 2320 matching lines...) Expand 10 before | Expand all | Expand 10 after
2331 CEntryStub::GenerateAheadOfTime(isolate); 2331 CEntryStub::GenerateAheadOfTime(isolate);
2332 StoreBufferOverflowStub::GenerateFixedRegStubsAheadOfTime(isolate); 2332 StoreBufferOverflowStub::GenerateFixedRegStubsAheadOfTime(isolate);
2333 StubFailureTrampolineStub::GenerateAheadOfTime(isolate); 2333 StubFailureTrampolineStub::GenerateAheadOfTime(isolate);
2334 // It is important that the store buffer overflow stubs are generated first. 2334 // It is important that the store buffer overflow stubs are generated first.
2335 ArrayConstructorStubBase::GenerateStubsAheadOfTime(isolate); 2335 ArrayConstructorStubBase::GenerateStubsAheadOfTime(isolate);
2336 CreateAllocationSiteStub::GenerateAheadOfTime(isolate); 2336 CreateAllocationSiteStub::GenerateAheadOfTime(isolate);
2337 CreateWeakCellStub::GenerateAheadOfTime(isolate); 2337 CreateWeakCellStub::GenerateAheadOfTime(isolate);
2338 BinaryOpICStub::GenerateAheadOfTime(isolate); 2338 BinaryOpICStub::GenerateAheadOfTime(isolate);
2339 BinaryOpICWithAllocationSiteStub::GenerateAheadOfTime(isolate); 2339 BinaryOpICWithAllocationSiteStub::GenerateAheadOfTime(isolate);
2340 StoreFastElementStub::GenerateAheadOfTime(isolate); 2340 StoreFastElementStub::GenerateAheadOfTime(isolate);
2341 TypeofStub::GenerateAheadOfTime(isolate);
2341 } 2342 }
2342 2343
2343 2344
2344 void CodeStub::GenerateFPStubs(Isolate* isolate) { 2345 void CodeStub::GenerateFPStubs(Isolate* isolate) {
2345 } 2346 }
2346 2347
2347 2348
2348 void CEntryStub::GenerateAheadOfTime(Isolate* isolate) { 2349 void CEntryStub::GenerateAheadOfTime(Isolate* isolate) {
2349 CEntryStub stub(isolate, 1, kDontSaveFPRegs); 2350 CEntryStub stub(isolate, 1, kDontSaveFPRegs);
2350 stub.GetCode(); 2351 stub.GetCode();
(...skipping 3010 matching lines...) Expand 10 before | Expand all | Expand 10 after
5361 CallApiFunctionAndReturn(masm, api_function_address, thunk_ref, getter_arg, 5362 CallApiFunctionAndReturn(masm, api_function_address, thunk_ref, getter_arg,
5362 kStackSpace, nullptr, return_value_operand, NULL); 5363 kStackSpace, nullptr, return_value_operand, NULL);
5363 } 5364 }
5364 5365
5365 5366
5366 #undef __ 5367 #undef __
5367 5368
5368 } } // namespace v8::internal 5369 } } // namespace v8::internal
5369 5370
5370 #endif // V8_TARGET_ARCH_X64 5371 #endif // V8_TARGET_ARCH_X64
OLDNEW
« no previous file with comments | « src/runtime/runtime-object.cc ('k') | src/x64/full-codegen-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698