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

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

Issue 1144063002: Cleanup interface descriptors to reflect that vectors are part of loads. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fixes for test failures. 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/code-stubs.h ('k') | src/ia32/code-stubs-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/code-stubs.h" 5 #include "src/code-stubs.h"
6 6
7 #include <sstream> 7 #include <sstream>
8 8
9 #include "src/bootstrapper.h" 9 #include "src/bootstrapper.h"
10 #include "src/cpu-profiler.h" 10 #include "src/cpu-profiler.h"
(...skipping 600 matching lines...) Expand 10 before | Expand all | Expand 10 after
611 if (kind() == Code::STORE_IC) { 611 if (kind() == Code::STORE_IC) {
612 descriptor->Initialize(FUNCTION_ADDR(StoreIC_MissFromStubFailure)); 612 descriptor->Initialize(FUNCTION_ADDR(StoreIC_MissFromStubFailure));
613 } else if (kind() == Code::KEYED_LOAD_IC) { 613 } else if (kind() == Code::KEYED_LOAD_IC) {
614 descriptor->Initialize(FUNCTION_ADDR(KeyedLoadIC_MissFromStubFailure)); 614 descriptor->Initialize(FUNCTION_ADDR(KeyedLoadIC_MissFromStubFailure));
615 } 615 }
616 } 616 }
617 617
618 618
619 CallInterfaceDescriptor HandlerStub::GetCallInterfaceDescriptor() { 619 CallInterfaceDescriptor HandlerStub::GetCallInterfaceDescriptor() {
620 if (kind() == Code::LOAD_IC || kind() == Code::KEYED_LOAD_IC) { 620 if (kind() == Code::LOAD_IC || kind() == Code::KEYED_LOAD_IC) {
621 return VectorLoadICDescriptor(isolate()); 621 return LoadWithVectorDescriptor(isolate());
622 } else { 622 } else {
623 DCHECK_EQ(Code::STORE_IC, kind()); 623 DCHECK_EQ(Code::STORE_IC, kind());
624 return StoreDescriptor(isolate()); 624 return StoreDescriptor(isolate());
625 } 625 }
626 } 626 }
627 627
628 628
629 void StoreFastElementStub::InitializeDescriptor( 629 void StoreFastElementStub::InitializeDescriptor(
630 CodeStubDescriptor* descriptor) { 630 CodeStubDescriptor* descriptor) {
631 descriptor->Initialize(FUNCTION_ADDR(KeyedStoreIC_MissFromStubFailure)); 631 descriptor->Initialize(FUNCTION_ADDR(KeyedStoreIC_MissFromStubFailure));
(...skipping 382 matching lines...) Expand 10 before | Expand all | Expand 10 after
1014 } 1014 }
1015 1015
1016 1016
1017 InternalArrayConstructorStub::InternalArrayConstructorStub( 1017 InternalArrayConstructorStub::InternalArrayConstructorStub(
1018 Isolate* isolate) : PlatformCodeStub(isolate) { 1018 Isolate* isolate) : PlatformCodeStub(isolate) {
1019 InternalArrayConstructorStubBase::GenerateStubsAheadOfTime(isolate); 1019 InternalArrayConstructorStubBase::GenerateStubsAheadOfTime(isolate);
1020 } 1020 }
1021 1021
1022 1022
1023 } } // namespace v8::internal 1023 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/code-stubs.h ('k') | src/ia32/code-stubs-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698