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

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

Issue 181453002: Reset trunk to 3.24.35.4 (Closed) Base URL: https://v8.googlecode.com/svn/trunk
Patch Set: Created 6 years, 10 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/code-stubs.h ('k') | src/code-stubs-hydrogen.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 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
112 112
113 // Create the code object. 113 // Create the code object.
114 CodeDesc desc; 114 CodeDesc desc;
115 masm.GetCode(&desc); 115 masm.GetCode(&desc);
116 116
117 // Copy the generated code into a heap object. 117 // Copy the generated code into a heap object.
118 Code::Flags flags = Code::ComputeFlags( 118 Code::Flags flags = Code::ComputeFlags(
119 GetCodeKind(), 119 GetCodeKind(),
120 GetICState(), 120 GetICState(),
121 GetExtraICState(), 121 GetExtraICState(),
122 GetStubType()); 122 GetStubType(),
123 GetStubFlags());
123 Handle<Code> new_object = factory->NewCode( 124 Handle<Code> new_object = factory->NewCode(
124 desc, flags, masm.CodeObject(), NeedsImmovableCode()); 125 desc, flags, masm.CodeObject(), NeedsImmovableCode());
125 return new_object; 126 return new_object;
126 } 127 }
127 128
128 129
129 void CodeStub::VerifyPlatformFeatures(Isolate* isolate) { 130 void CodeStub::VerifyPlatformFeatures(Isolate* isolate) {
130 ASSERT(CpuFeatures::VerifyCrossCompiling()); 131 ASSERT(CpuFeatures::VerifyCrossCompiling());
131 } 132 }
132 133
(...skipping 608 matching lines...) Expand 10 before | Expand all | Expand 10 after
741 } 742 }
742 743
743 744
744 void FastNewContextStub::InstallDescriptors(Isolate* isolate) { 745 void FastNewContextStub::InstallDescriptors(Isolate* isolate) {
745 FastNewContextStub stub(FastNewContextStub::kMaximumSlots); 746 FastNewContextStub stub(FastNewContextStub::kMaximumSlots);
746 InstallDescriptor(isolate, &stub); 747 InstallDescriptor(isolate, &stub);
747 } 748 }
748 749
749 750
750 // static 751 // static
751 void FastCloneShallowArrayStub::InstallDescriptors(Isolate* isolate) {
752 FastCloneShallowArrayStub stub(FastCloneShallowArrayStub::CLONE_ELEMENTS,
753 DONT_TRACK_ALLOCATION_SITE, 0);
754 InstallDescriptor(isolate, &stub);
755 }
756
757
758 // static
759 void BinaryOpICStub::InstallDescriptors(Isolate* isolate) { 752 void BinaryOpICStub::InstallDescriptors(Isolate* isolate) {
760 BinaryOpICStub stub(Token::ADD, NO_OVERWRITE); 753 BinaryOpICStub stub(Token::ADD, NO_OVERWRITE);
761 InstallDescriptor(isolate, &stub); 754 InstallDescriptor(isolate, &stub);
762 } 755 }
763 756
764 757
765 // static 758 // static
766 void BinaryOpWithAllocationSiteStub::InstallDescriptors(Isolate* isolate) { 759 void BinaryOpWithAllocationSiteStub::InstallDescriptors(Isolate* isolate) {
767 BinaryOpWithAllocationSiteStub stub(Token::ADD, NO_OVERWRITE); 760 BinaryOpWithAllocationSiteStub stub(Token::ADD, NO_OVERWRITE);
768 InstallDescriptor(isolate, &stub); 761 InstallDescriptor(isolate, &stub);
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
813 InstallDescriptor(isolate, &stub3); 806 InstallDescriptor(isolate, &stub3);
814 } 807 }
815 808
816 InternalArrayConstructorStub::InternalArrayConstructorStub( 809 InternalArrayConstructorStub::InternalArrayConstructorStub(
817 Isolate* isolate) { 810 Isolate* isolate) {
818 InternalArrayConstructorStubBase::GenerateStubsAheadOfTime(isolate); 811 InternalArrayConstructorStubBase::GenerateStubsAheadOfTime(isolate);
819 } 812 }
820 813
821 814
822 } } // namespace v8::internal 815 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/code-stubs.h ('k') | src/code-stubs-hydrogen.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698