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

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

Issue 1124263005: X87: Optimize the typeof operator. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: 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 | « no previous file | src/x87/full-codegen-x87.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_X87 7 #if V8_TARGET_ARCH_X87
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 2126 matching lines...) Expand 10 before | Expand all | Expand 10 after
2137 CEntryStub::GenerateAheadOfTime(isolate); 2137 CEntryStub::GenerateAheadOfTime(isolate);
2138 StoreBufferOverflowStub::GenerateFixedRegStubsAheadOfTime(isolate); 2138 StoreBufferOverflowStub::GenerateFixedRegStubsAheadOfTime(isolate);
2139 StubFailureTrampolineStub::GenerateAheadOfTime(isolate); 2139 StubFailureTrampolineStub::GenerateAheadOfTime(isolate);
2140 // It is important that the store buffer overflow stubs are generated first. 2140 // It is important that the store buffer overflow stubs are generated first.
2141 ArrayConstructorStubBase::GenerateStubsAheadOfTime(isolate); 2141 ArrayConstructorStubBase::GenerateStubsAheadOfTime(isolate);
2142 CreateAllocationSiteStub::GenerateAheadOfTime(isolate); 2142 CreateAllocationSiteStub::GenerateAheadOfTime(isolate);
2143 CreateWeakCellStub::GenerateAheadOfTime(isolate); 2143 CreateWeakCellStub::GenerateAheadOfTime(isolate);
2144 BinaryOpICStub::GenerateAheadOfTime(isolate); 2144 BinaryOpICStub::GenerateAheadOfTime(isolate);
2145 BinaryOpICWithAllocationSiteStub::GenerateAheadOfTime(isolate); 2145 BinaryOpICWithAllocationSiteStub::GenerateAheadOfTime(isolate);
2146 StoreFastElementStub::GenerateAheadOfTime(isolate); 2146 StoreFastElementStub::GenerateAheadOfTime(isolate);
2147 TypeofStub::GenerateAheadOfTime(isolate);
2147 } 2148 }
2148 2149
2149 2150
2150 void CodeStub::GenerateFPStubs(Isolate* isolate) { 2151 void CodeStub::GenerateFPStubs(Isolate* isolate) {
2151 CEntryStub save_doubles(isolate, 1, kSaveFPRegs); 2152 CEntryStub save_doubles(isolate, 1, kSaveFPRegs);
2152 // Stubs might already be in the snapshot, detect that and don't regenerate, 2153 // Stubs might already be in the snapshot, detect that and don't regenerate,
2153 // which would lead to code stub initialization state being messed up. 2154 // which would lead to code stub initialization state being messed up.
2154 Code* save_doubles_code; 2155 Code* save_doubles_code;
2155 if (!save_doubles.FindCodeInCache(&save_doubles_code)) { 2156 if (!save_doubles.FindCodeInCache(&save_doubles_code)) {
2156 save_doubles_code = *(save_doubles.GetCode()); 2157 save_doubles_code = *(save_doubles.GetCode());
(...skipping 2921 matching lines...) Expand 10 before | Expand all | Expand 10 after
5078 ApiParameterOperand(2), kStackSpace, nullptr, 5079 ApiParameterOperand(2), kStackSpace, nullptr,
5079 Operand(ebp, 7 * kPointerSize), NULL); 5080 Operand(ebp, 7 * kPointerSize), NULL);
5080 } 5081 }
5081 5082
5082 5083
5083 #undef __ 5084 #undef __
5084 5085
5085 } } // namespace v8::internal 5086 } } // namespace v8::internal
5086 5087
5087 #endif // V8_TARGET_ARCH_X87 5088 #endif // V8_TARGET_ARCH_X87
OLDNEW
« no previous file with comments | « no previous file | src/x87/full-codegen-x87.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698