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

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: Fix mips/mips64 errors. 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
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 2310 matching lines...) Expand 10 before | Expand all | Expand 10 after
2321 CEntryStub::GenerateAheadOfTime(isolate); 2321 CEntryStub::GenerateAheadOfTime(isolate);
2322 StoreBufferOverflowStub::GenerateFixedRegStubsAheadOfTime(isolate); 2322 StoreBufferOverflowStub::GenerateFixedRegStubsAheadOfTime(isolate);
2323 StubFailureTrampolineStub::GenerateAheadOfTime(isolate); 2323 StubFailureTrampolineStub::GenerateAheadOfTime(isolate);
2324 // It is important that the store buffer overflow stubs are generated first. 2324 // It is important that the store buffer overflow stubs are generated first.
2325 ArrayConstructorStubBase::GenerateStubsAheadOfTime(isolate); 2325 ArrayConstructorStubBase::GenerateStubsAheadOfTime(isolate);
2326 CreateAllocationSiteStub::GenerateAheadOfTime(isolate); 2326 CreateAllocationSiteStub::GenerateAheadOfTime(isolate);
2327 CreateWeakCellStub::GenerateAheadOfTime(isolate); 2327 CreateWeakCellStub::GenerateAheadOfTime(isolate);
2328 BinaryOpICStub::GenerateAheadOfTime(isolate); 2328 BinaryOpICStub::GenerateAheadOfTime(isolate);
2329 BinaryOpICWithAllocationSiteStub::GenerateAheadOfTime(isolate); 2329 BinaryOpICWithAllocationSiteStub::GenerateAheadOfTime(isolate);
2330 StoreFastElementStub::GenerateAheadOfTime(isolate); 2330 StoreFastElementStub::GenerateAheadOfTime(isolate);
2331 TypeofStub::GenerateAheadOfTime(isolate);
2331 } 2332 }
2332 2333
2333 2334
2334 void CodeStub::GenerateFPStubs(Isolate* isolate) { 2335 void CodeStub::GenerateFPStubs(Isolate* isolate) {
2335 } 2336 }
2336 2337
2337 2338
2338 void CEntryStub::GenerateAheadOfTime(Isolate* isolate) { 2339 void CEntryStub::GenerateAheadOfTime(Isolate* isolate) {
2339 CEntryStub stub(isolate, 1, kDontSaveFPRegs); 2340 CEntryStub stub(isolate, 1, kDontSaveFPRegs);
2340 stub.GetCode(); 2341 stub.GetCode();
(...skipping 3009 matching lines...) Expand 10 before | Expand all | Expand 10 after
5350 CallApiFunctionAndReturn(masm, api_function_address, thunk_ref, getter_arg, 5351 CallApiFunctionAndReturn(masm, api_function_address, thunk_ref, getter_arg,
5351 kStackSpace, nullptr, return_value_operand, NULL); 5352 kStackSpace, nullptr, return_value_operand, NULL);
5352 } 5353 }
5353 5354
5354 5355
5355 #undef __ 5356 #undef __
5356 5357
5357 } } // namespace v8::internal 5358 } } // namespace v8::internal
5358 5359
5359 #endif // V8_TARGET_ARCH_X64 5360 #endif // V8_TARGET_ARCH_X64
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698