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

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

Issue 352583008: Rollback to Version 3.28.4 (based on bleeding_edge revision r22031) (Closed) Base URL: https://v8.googlecode.com/svn/trunk
Patch Set: Created 6 years, 5 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 | Annotate | Revision Log
« no previous file with comments | « src/ast-value-factory.h ('k') | src/compiler.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 #include "src/bootstrapper.h" 7 #include "src/bootstrapper.h"
8 #include "src/code-stubs.h" 8 #include "src/code-stubs.h"
9 #include "src/cpu-profiler.h" 9 #include "src/cpu-profiler.h"
10 #include "src/factory.h" 10 #include "src/factory.h"
(...skipping 596 matching lines...) Expand 10 before | Expand all | Expand 10 after
607 CodeStubInterfaceDescriptor* descriptor) { 607 CodeStubInterfaceDescriptor* descriptor) {
608 Register registers[] = { KeyedLoadIC::ReceiverRegister(), 608 Register registers[] = { KeyedLoadIC::ReceiverRegister(),
609 KeyedLoadIC::NameRegister() }; 609 KeyedLoadIC::NameRegister() };
610 STATIC_ASSERT(KeyedLoadIC::kRegisterArgumentCount == 2); 610 STATIC_ASSERT(KeyedLoadIC::kRegisterArgumentCount == 2);
611 descriptor->Initialize( 611 descriptor->Initialize(
612 ARRAY_SIZE(registers), registers, 612 ARRAY_SIZE(registers), registers,
613 Runtime::FunctionForId(Runtime::kKeyedGetProperty)->entry); 613 Runtime::FunctionForId(Runtime::kKeyedGetProperty)->entry);
614 } 614 }
615 615
616 616
617 void LoadFieldStub::InitializeInterfaceDescriptor(
618 CodeStubInterfaceDescriptor* descriptor) {
619 Register registers[] = { LoadIC::ReceiverRegister() };
620 descriptor->Initialize(ARRAY_SIZE(registers), registers);
621 }
622
623
624 void KeyedLoadFieldStub::InitializeInterfaceDescriptor(
625 CodeStubInterfaceDescriptor* descriptor) {
626 Register registers[] = { KeyedLoadIC::ReceiverRegister() };
627 descriptor->Initialize(ARRAY_SIZE(registers), registers);
628 }
629
630
631 void StringLengthStub::InitializeInterfaceDescriptor(
632 CodeStubInterfaceDescriptor* descriptor) {
633 Register registers[] = { LoadIC::ReceiverRegister(),
634 LoadIC::NameRegister() };
635 descriptor->Initialize(ARRAY_SIZE(registers), registers);
636 }
637
638
639 void KeyedStringLengthStub::InitializeInterfaceDescriptor(
640 CodeStubInterfaceDescriptor* descriptor) {
641 Register registers[] = { KeyedLoadIC::ReceiverRegister(),
642 KeyedLoadIC::NameRegister() };
643 descriptor->Initialize(ARRAY_SIZE(registers), registers);
644 }
645
646
647 void KeyedLoadDictionaryElementPlatformStub::Generate( 617 void KeyedLoadDictionaryElementPlatformStub::Generate(
648 MacroAssembler* masm) { 618 MacroAssembler* masm) {
649 KeyedLoadStubCompiler::GenerateLoadDictionaryElement(masm); 619 KeyedLoadStubCompiler::GenerateLoadDictionaryElement(masm);
650 } 620 }
651 621
652 622
653 void CreateAllocationSiteStub::GenerateAheadOfTime(Isolate* isolate) { 623 void CreateAllocationSiteStub::GenerateAheadOfTime(Isolate* isolate) {
654 CreateAllocationSiteStub stub(isolate); 624 CreateAllocationSiteStub stub(isolate);
655 stub.GetCode(); 625 stub.GetCode();
656 } 626 }
(...skipping 277 matching lines...) Expand 10 before | Expand all | Expand 10 after
934 InstallDescriptor(isolate, &stub3); 904 InstallDescriptor(isolate, &stub3);
935 } 905 }
936 906
937 InternalArrayConstructorStub::InternalArrayConstructorStub( 907 InternalArrayConstructorStub::InternalArrayConstructorStub(
938 Isolate* isolate) : PlatformCodeStub(isolate) { 908 Isolate* isolate) : PlatformCodeStub(isolate) {
939 InternalArrayConstructorStubBase::GenerateStubsAheadOfTime(isolate); 909 InternalArrayConstructorStubBase::GenerateStubsAheadOfTime(isolate);
940 } 910 }
941 911
942 912
943 } } // namespace v8::internal 913 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/ast-value-factory.h ('k') | src/compiler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698