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

Side by Side Diff: src/ia32/code-stubs-ia32.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/compiler/linkage.cc ('k') | src/ia32/full-codegen-ia32.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 2439 matching lines...) Expand 10 before | Expand all | Expand 10 after
2450 CEntryStub::GenerateAheadOfTime(isolate); 2450 CEntryStub::GenerateAheadOfTime(isolate);
2451 StoreBufferOverflowStub::GenerateFixedRegStubsAheadOfTime(isolate); 2451 StoreBufferOverflowStub::GenerateFixedRegStubsAheadOfTime(isolate);
2452 StubFailureTrampolineStub::GenerateAheadOfTime(isolate); 2452 StubFailureTrampolineStub::GenerateAheadOfTime(isolate);
2453 // It is important that the store buffer overflow stubs are generated first. 2453 // It is important that the store buffer overflow stubs are generated first.
2454 ArrayConstructorStubBase::GenerateStubsAheadOfTime(isolate); 2454 ArrayConstructorStubBase::GenerateStubsAheadOfTime(isolate);
2455 CreateAllocationSiteStub::GenerateAheadOfTime(isolate); 2455 CreateAllocationSiteStub::GenerateAheadOfTime(isolate);
2456 CreateWeakCellStub::GenerateAheadOfTime(isolate); 2456 CreateWeakCellStub::GenerateAheadOfTime(isolate);
2457 BinaryOpICStub::GenerateAheadOfTime(isolate); 2457 BinaryOpICStub::GenerateAheadOfTime(isolate);
2458 BinaryOpICWithAllocationSiteStub::GenerateAheadOfTime(isolate); 2458 BinaryOpICWithAllocationSiteStub::GenerateAheadOfTime(isolate);
2459 StoreFastElementStub::GenerateAheadOfTime(isolate); 2459 StoreFastElementStub::GenerateAheadOfTime(isolate);
2460 TypeofStub::GenerateAheadOfTime(isolate);
2460 } 2461 }
2461 2462
2462 2463
2463 void CodeStub::GenerateFPStubs(Isolate* isolate) { 2464 void CodeStub::GenerateFPStubs(Isolate* isolate) {
2464 // Generate if not already in cache. 2465 // Generate if not already in cache.
2465 CEntryStub(isolate, 1, kSaveFPRegs).GetCode(); 2466 CEntryStub(isolate, 1, kSaveFPRegs).GetCode();
2466 isolate->set_fp_stubs_generated(true); 2467 isolate->set_fp_stubs_generated(true);
2467 } 2468 }
2468 2469
2469 2470
(...skipping 2948 matching lines...) Expand 10 before | Expand all | Expand 10 after
5418 ApiParameterOperand(2), kStackSpace, nullptr, 5419 ApiParameterOperand(2), kStackSpace, nullptr,
5419 Operand(ebp, 7 * kPointerSize), NULL); 5420 Operand(ebp, 7 * kPointerSize), NULL);
5420 } 5421 }
5421 5422
5422 5423
5423 #undef __ 5424 #undef __
5424 5425
5425 } } // namespace v8::internal 5426 } } // namespace v8::internal
5426 5427
5427 #endif // V8_TARGET_ARCH_IA32 5428 #endif // V8_TARGET_ARCH_IA32
OLDNEW
« no previous file with comments | « src/compiler/linkage.cc ('k') | src/ia32/full-codegen-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698