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 946 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
957 | 957 |
958 | 958 |
959 void JSEntryStub::FinishCode(Handle<Code> code) { | 959 void JSEntryStub::FinishCode(Handle<Code> code) { |
960 Handle<FixedArray> handler_table = | 960 Handle<FixedArray> handler_table = |
961 code->GetIsolate()->factory()->NewFixedArray(1, TENURED); | 961 code->GetIsolate()->factory()->NewFixedArray(1, TENURED); |
962 handler_table->set(0, Smi::FromInt(handler_offset_)); | 962 handler_table->set(0, Smi::FromInt(handler_offset_)); |
963 code->set_handler_table(*handler_table); | 963 code->set_handler_table(*handler_table); |
964 } | 964 } |
965 | 965 |
966 | 966 |
967 void KeyedLoadDictionaryElementStub::Generate(MacroAssembler* masm) { | 967 void KeyedLoadDictionaryElementPlatformStub::Generate( |
| 968 MacroAssembler* masm) { |
968 KeyedLoadStubCompiler::GenerateLoadDictionaryElement(masm); | 969 KeyedLoadStubCompiler::GenerateLoadDictionaryElement(masm); |
969 } | 970 } |
970 | 971 |
971 | 972 |
972 void CreateAllocationSiteStub::GenerateAheadOfTime(Isolate* isolate) { | 973 void CreateAllocationSiteStub::GenerateAheadOfTime(Isolate* isolate) { |
973 CreateAllocationSiteStub stub; | 974 CreateAllocationSiteStub stub; |
974 stub.GetCode(isolate)->set_is_pregenerated(true); | 975 stub.GetCode(isolate)->set_is_pregenerated(true); |
975 } | 976 } |
976 | 977 |
977 | 978 |
(...skipping 221 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1199 InstallDescriptor(isolate, &stub3); | 1200 InstallDescriptor(isolate, &stub3); |
1200 } | 1201 } |
1201 | 1202 |
1202 InternalArrayConstructorStub::InternalArrayConstructorStub( | 1203 InternalArrayConstructorStub::InternalArrayConstructorStub( |
1203 Isolate* isolate) { | 1204 Isolate* isolate) { |
1204 InternalArrayConstructorStubBase::GenerateStubsAheadOfTime(isolate); | 1205 InternalArrayConstructorStubBase::GenerateStubsAheadOfTime(isolate); |
1205 } | 1206 } |
1206 | 1207 |
1207 | 1208 |
1208 } } // namespace v8::internal | 1209 } } // namespace v8::internal |
OLD | NEW |