| OLD | NEW | 
|---|
| 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 976 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 987 | 987 | 
| 988 | 988 | 
| 989 // static | 989 // static | 
| 990 void StoreFieldStub::InstallDescriptors(Isolate* isolate) { | 990 void StoreFieldStub::InstallDescriptors(Isolate* isolate) { | 
| 991   StoreFieldStub stub(isolate, FieldIndex::ForInObjectOffset(0), | 991   StoreFieldStub stub(isolate, FieldIndex::ForInObjectOffset(0), | 
| 992                       Representation::None()); | 992                       Representation::None()); | 
| 993   InstallDescriptor(isolate, &stub); | 993   InstallDescriptor(isolate, &stub); | 
| 994 } | 994 } | 
| 995 | 995 | 
| 996 | 996 | 
|  | 997 // static | 
|  | 998 void LoadFastElementStub::InstallDescriptors(Isolate* isolate) { | 
|  | 999   LoadFastElementStub stub(isolate, true, FAST_ELEMENTS); | 
|  | 1000   InstallDescriptor(isolate, &stub); | 
|  | 1001 } | 
|  | 1002 | 
|  | 1003 | 
| 997 ArrayConstructorStub::ArrayConstructorStub(Isolate* isolate) | 1004 ArrayConstructorStub::ArrayConstructorStub(Isolate* isolate) | 
| 998     : PlatformCodeStub(isolate) { | 1005     : PlatformCodeStub(isolate) { | 
| 999   minor_key_ = ArgumentCountBits::encode(ANY); | 1006   minor_key_ = ArgumentCountBits::encode(ANY); | 
| 1000   ArrayConstructorStubBase::GenerateStubsAheadOfTime(isolate); | 1007   ArrayConstructorStubBase::GenerateStubsAheadOfTime(isolate); | 
| 1001 } | 1008 } | 
| 1002 | 1009 | 
| 1003 | 1010 | 
| 1004 ArrayConstructorStub::ArrayConstructorStub(Isolate* isolate, | 1011 ArrayConstructorStub::ArrayConstructorStub(Isolate* isolate, | 
| 1005                                            int argument_count) | 1012                                            int argument_count) | 
| 1006     : PlatformCodeStub(isolate) { | 1013     : PlatformCodeStub(isolate) { | 
| (...skipping 19 matching lines...) Expand all  Loading... | 
| 1026   InstallDescriptor(isolate, &stub3); | 1033   InstallDescriptor(isolate, &stub3); | 
| 1027 } | 1034 } | 
| 1028 | 1035 | 
| 1029 InternalArrayConstructorStub::InternalArrayConstructorStub( | 1036 InternalArrayConstructorStub::InternalArrayConstructorStub( | 
| 1030     Isolate* isolate) : PlatformCodeStub(isolate) { | 1037     Isolate* isolate) : PlatformCodeStub(isolate) { | 
| 1031   InternalArrayConstructorStubBase::GenerateStubsAheadOfTime(isolate); | 1038   InternalArrayConstructorStubBase::GenerateStubsAheadOfTime(isolate); | 
| 1032 } | 1039 } | 
| 1033 | 1040 | 
| 1034 | 1041 | 
| 1035 } }  // namespace v8::internal | 1042 } }  // namespace v8::internal | 
| OLD | NEW | 
|---|