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

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: 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 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 2429 matching lines...) Expand 10 before | Expand all | Expand 10 after
2440 CEntryStub::GenerateAheadOfTime(isolate); 2440 CEntryStub::GenerateAheadOfTime(isolate);
2441 StoreBufferOverflowStub::GenerateFixedRegStubsAheadOfTime(isolate); 2441 StoreBufferOverflowStub::GenerateFixedRegStubsAheadOfTime(isolate);
2442 StubFailureTrampolineStub::GenerateAheadOfTime(isolate); 2442 StubFailureTrampolineStub::GenerateAheadOfTime(isolate);
2443 // It is important that the store buffer overflow stubs are generated first. 2443 // It is important that the store buffer overflow stubs are generated first.
2444 ArrayConstructorStubBase::GenerateStubsAheadOfTime(isolate); 2444 ArrayConstructorStubBase::GenerateStubsAheadOfTime(isolate);
2445 CreateAllocationSiteStub::GenerateAheadOfTime(isolate); 2445 CreateAllocationSiteStub::GenerateAheadOfTime(isolate);
2446 CreateWeakCellStub::GenerateAheadOfTime(isolate); 2446 CreateWeakCellStub::GenerateAheadOfTime(isolate);
2447 BinaryOpICStub::GenerateAheadOfTime(isolate); 2447 BinaryOpICStub::GenerateAheadOfTime(isolate);
2448 BinaryOpICWithAllocationSiteStub::GenerateAheadOfTime(isolate); 2448 BinaryOpICWithAllocationSiteStub::GenerateAheadOfTime(isolate);
2449 StoreFastElementStub::GenerateAheadOfTime(isolate); 2449 StoreFastElementStub::GenerateAheadOfTime(isolate);
2450 TypeofStub::GenerateAheadOfTime(isolate);
2450 } 2451 }
2451 2452
2452 2453
2453 void CodeStub::GenerateFPStubs(Isolate* isolate) { 2454 void CodeStub::GenerateFPStubs(Isolate* isolate) {
2454 // Generate if not already in cache. 2455 // Generate if not already in cache.
2455 CEntryStub(isolate, 1, kSaveFPRegs).GetCode(); 2456 CEntryStub(isolate, 1, kSaveFPRegs).GetCode();
2456 isolate->set_fp_stubs_generated(true); 2457 isolate->set_fp_stubs_generated(true);
2457 } 2458 }
2458 2459
2459 2460
(...skipping 2947 matching lines...) Expand 10 before | Expand all | Expand 10 after
5407 ApiParameterOperand(2), kStackSpace, nullptr, 5408 ApiParameterOperand(2), kStackSpace, nullptr,
5408 Operand(ebp, 7 * kPointerSize), NULL); 5409 Operand(ebp, 7 * kPointerSize), NULL);
5409 } 5410 }
5410 5411
5411 5412
5412 #undef __ 5413 #undef __
5413 5414
5414 } } // namespace v8::internal 5415 } } // namespace v8::internal
5415 5416
5416 #endif // V8_TARGET_ARCH_IA32 5417 #endif // V8_TARGET_ARCH_IA32
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698