OLD | NEW |
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 1158 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1169 } | 1169 } |
1170 | 1170 |
1171 | 1171 |
1172 // static | 1172 // static |
1173 void NewStringAddStub::InstallDescriptors(Isolate* isolate) { | 1173 void NewStringAddStub::InstallDescriptors(Isolate* isolate) { |
1174 NewStringAddStub stub(STRING_ADD_CHECK_NONE, NOT_TENURED); | 1174 NewStringAddStub stub(STRING_ADD_CHECK_NONE, NOT_TENURED); |
1175 InstallDescriptor(isolate, &stub); | 1175 InstallDescriptor(isolate, &stub); |
1176 } | 1176 } |
1177 | 1177 |
1178 | 1178 |
| 1179 void KeyedLoadGenericElementStub::InstallDescriptors(Isolate* isolate) { |
| 1180 KeyedLoadGenericElementStub stub; |
| 1181 InstallDescriptor(isolate, &stub); |
| 1182 } |
| 1183 |
| 1184 |
1179 ArrayConstructorStub::ArrayConstructorStub(Isolate* isolate) | 1185 ArrayConstructorStub::ArrayConstructorStub(Isolate* isolate) |
1180 : argument_count_(ANY) { | 1186 : argument_count_(ANY) { |
1181 ArrayConstructorStubBase::GenerateStubsAheadOfTime(isolate); | 1187 ArrayConstructorStubBase::GenerateStubsAheadOfTime(isolate); |
1182 } | 1188 } |
1183 | 1189 |
1184 | 1190 |
1185 ArrayConstructorStub::ArrayConstructorStub(Isolate* isolate, | 1191 ArrayConstructorStub::ArrayConstructorStub(Isolate* isolate, |
1186 int argument_count) { | 1192 int argument_count) { |
1187 if (argument_count == 0) { | 1193 if (argument_count == 0) { |
1188 argument_count_ = NONE; | 1194 argument_count_ = NONE; |
(...skipping 17 matching lines...) Expand all Loading... |
1206 InstallDescriptor(isolate, &stub3); | 1212 InstallDescriptor(isolate, &stub3); |
1207 } | 1213 } |
1208 | 1214 |
1209 InternalArrayConstructorStub::InternalArrayConstructorStub( | 1215 InternalArrayConstructorStub::InternalArrayConstructorStub( |
1210 Isolate* isolate) { | 1216 Isolate* isolate) { |
1211 InternalArrayConstructorStubBase::GenerateStubsAheadOfTime(isolate); | 1217 InternalArrayConstructorStubBase::GenerateStubsAheadOfTime(isolate); |
1212 } | 1218 } |
1213 | 1219 |
1214 | 1220 |
1215 } } // namespace v8::internal | 1221 } } // namespace v8::internal |
OLD | NEW |