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

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: Ports. 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') | src/mips/lithium-codegen-mips.cc » ('J')
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 903 matching lines...) Expand 10 before | Expand all | Expand 10 after
914 void CodeStub::GenerateStubsAheadOfTime(Isolate* isolate) { 914 void CodeStub::GenerateStubsAheadOfTime(Isolate* isolate) {
915 CEntryStub::GenerateAheadOfTime(isolate); 915 CEntryStub::GenerateAheadOfTime(isolate);
916 StoreBufferOverflowStub::GenerateFixedRegStubsAheadOfTime(isolate); 916 StoreBufferOverflowStub::GenerateFixedRegStubsAheadOfTime(isolate);
917 StubFailureTrampolineStub::GenerateAheadOfTime(isolate); 917 StubFailureTrampolineStub::GenerateAheadOfTime(isolate);
918 ArrayConstructorStubBase::GenerateStubsAheadOfTime(isolate); 918 ArrayConstructorStubBase::GenerateStubsAheadOfTime(isolate);
919 CreateAllocationSiteStub::GenerateAheadOfTime(isolate); 919 CreateAllocationSiteStub::GenerateAheadOfTime(isolate);
920 CreateWeakCellStub::GenerateAheadOfTime(isolate); 920 CreateWeakCellStub::GenerateAheadOfTime(isolate);
921 BinaryOpICStub::GenerateAheadOfTime(isolate); 921 BinaryOpICStub::GenerateAheadOfTime(isolate);
922 BinaryOpICWithAllocationSiteStub::GenerateAheadOfTime(isolate); 922 BinaryOpICWithAllocationSiteStub::GenerateAheadOfTime(isolate);
923 StoreFastElementStub::GenerateAheadOfTime(isolate); 923 StoreFastElementStub::GenerateAheadOfTime(isolate);
924 TypeofStub::GenerateAheadOfTime(isolate);
924 } 925 }
925 926
926 927
927 void CodeStub::GenerateFPStubs(Isolate* isolate) { 928 void CodeStub::GenerateFPStubs(Isolate* isolate) {
928 // Generate if not already in cache. 929 // Generate if not already in cache.
929 SaveFPRegsMode mode = kSaveFPRegs; 930 SaveFPRegsMode mode = kSaveFPRegs;
930 CEntryStub(isolate, 1, mode).GetCode(); 931 CEntryStub(isolate, 1, mode).GetCode();
931 StoreBufferOverflowStub(isolate, mode).GetCode(); 932 StoreBufferOverflowStub(isolate, mode).GetCode();
932 isolate->set_fp_stubs_generated(true); 933 isolate->set_fp_stubs_generated(true);
933 } 934 }
(...skipping 4349 matching lines...) Expand 10 before | Expand all | Expand 10 after
5283 kStackUnwindSpace, NULL, 5284 kStackUnwindSpace, NULL,
5284 MemOperand(fp, 6 * kPointerSize), NULL); 5285 MemOperand(fp, 6 * kPointerSize), NULL);
5285 } 5286 }
5286 5287
5287 5288
5288 #undef __ 5289 #undef __
5289 5290
5290 } } // namespace v8::internal 5291 } } // namespace v8::internal
5291 5292
5292 #endif // V8_TARGET_ARCH_ARM 5293 #endif // V8_TARGET_ARCH_ARM
OLDNEW
« no previous file with comments | « no previous file | src/arm/full-codegen-arm.cc » ('j') | src/mips/lithium-codegen-mips.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698