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

Side by Side Diff: src/arm/code-stubs-arm.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 | « no previous file | src/arm/full-codegen-arm.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_ARM 7 #if V8_TARGET_ARCH_ARM
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 905 matching lines...) Expand 10 before | Expand all | Expand 10 after
916 void CodeStub::GenerateStubsAheadOfTime(Isolate* isolate) { 916 void CodeStub::GenerateStubsAheadOfTime(Isolate* isolate) {
917 CEntryStub::GenerateAheadOfTime(isolate); 917 CEntryStub::GenerateAheadOfTime(isolate);
918 StoreBufferOverflowStub::GenerateFixedRegStubsAheadOfTime(isolate); 918 StoreBufferOverflowStub::GenerateFixedRegStubsAheadOfTime(isolate);
919 StubFailureTrampolineStub::GenerateAheadOfTime(isolate); 919 StubFailureTrampolineStub::GenerateAheadOfTime(isolate);
920 ArrayConstructorStubBase::GenerateStubsAheadOfTime(isolate); 920 ArrayConstructorStubBase::GenerateStubsAheadOfTime(isolate);
921 CreateAllocationSiteStub::GenerateAheadOfTime(isolate); 921 CreateAllocationSiteStub::GenerateAheadOfTime(isolate);
922 CreateWeakCellStub::GenerateAheadOfTime(isolate); 922 CreateWeakCellStub::GenerateAheadOfTime(isolate);
923 BinaryOpICStub::GenerateAheadOfTime(isolate); 923 BinaryOpICStub::GenerateAheadOfTime(isolate);
924 BinaryOpICWithAllocationSiteStub::GenerateAheadOfTime(isolate); 924 BinaryOpICWithAllocationSiteStub::GenerateAheadOfTime(isolate);
925 StoreFastElementStub::GenerateAheadOfTime(isolate); 925 StoreFastElementStub::GenerateAheadOfTime(isolate);
926 TypeofStub::GenerateAheadOfTime(isolate);
926 } 927 }
927 928
928 929
929 void CodeStub::GenerateFPStubs(Isolate* isolate) { 930 void CodeStub::GenerateFPStubs(Isolate* isolate) {
930 // Generate if not already in cache. 931 // Generate if not already in cache.
931 SaveFPRegsMode mode = kSaveFPRegs; 932 SaveFPRegsMode mode = kSaveFPRegs;
932 CEntryStub(isolate, 1, mode).GetCode(); 933 CEntryStub(isolate, 1, mode).GetCode();
933 StoreBufferOverflowStub(isolate, mode).GetCode(); 934 StoreBufferOverflowStub(isolate, mode).GetCode();
934 isolate->set_fp_stubs_generated(true); 935 isolate->set_fp_stubs_generated(true);
935 } 936 }
(...skipping 4354 matching lines...) Expand 10 before | Expand all | Expand 10 after
5290 kStackUnwindSpace, NULL, 5291 kStackUnwindSpace, NULL,
5291 MemOperand(fp, 6 * kPointerSize), NULL); 5292 MemOperand(fp, 6 * kPointerSize), NULL);
5292 } 5293 }
5293 5294
5294 5295
5295 #undef __ 5296 #undef __
5296 5297
5297 } } // namespace v8::internal 5298 } } // namespace v8::internal
5298 5299
5299 #endif // V8_TARGET_ARCH_ARM 5300 #endif // V8_TARGET_ARCH_ARM
OLDNEW
« no previous file with comments | « no previous file | src/arm/full-codegen-arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698