| 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 923 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 934 | 934 |
| 935 | 935 |
| 936 void JSEntryStub::FinishCode(Handle<Code> code) { | 936 void JSEntryStub::FinishCode(Handle<Code> code) { |
| 937 Handle<FixedArray> handler_table = | 937 Handle<FixedArray> handler_table = |
| 938 code->GetIsolate()->factory()->NewFixedArray(1, TENURED); | 938 code->GetIsolate()->factory()->NewFixedArray(1, TENURED); |
| 939 handler_table->set(0, Smi::FromInt(handler_offset_)); | 939 handler_table->set(0, Smi::FromInt(handler_offset_)); |
| 940 code->set_handler_table(*handler_table); | 940 code->set_handler_table(*handler_table); |
| 941 } | 941 } |
| 942 | 942 |
| 943 | 943 |
| 944 void KeyedLoadDictionaryElementStub::Generate(MacroAssembler* masm) { | 944 void KeyedLoadDictionaryElementPlatformStub::Generate( |
| 945 MacroAssembler* masm) { |
| 945 KeyedLoadStubCompiler::GenerateLoadDictionaryElement(masm); | 946 KeyedLoadStubCompiler::GenerateLoadDictionaryElement(masm); |
| 946 } | 947 } |
| 947 | 948 |
| 948 | 949 |
| 949 void CreateAllocationSiteStub::GenerateAheadOfTime(Isolate* isolate) { | 950 void CreateAllocationSiteStub::GenerateAheadOfTime(Isolate* isolate) { |
| 950 CreateAllocationSiteStub stub; | 951 CreateAllocationSiteStub stub; |
| 951 stub.GetCode(isolate)->set_is_pregenerated(true); | 952 stub.GetCode(isolate)->set_is_pregenerated(true); |
| 952 } | 953 } |
| 953 | 954 |
| 954 | 955 |
| (...skipping 208 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1163 InstallDescriptor(isolate, &stub3); | 1164 InstallDescriptor(isolate, &stub3); |
| 1164 } | 1165 } |
| 1165 | 1166 |
| 1166 InternalArrayConstructorStub::InternalArrayConstructorStub( | 1167 InternalArrayConstructorStub::InternalArrayConstructorStub( |
| 1167 Isolate* isolate) { | 1168 Isolate* isolate) { |
| 1168 InternalArrayConstructorStubBase::GenerateStubsAheadOfTime(isolate); | 1169 InternalArrayConstructorStubBase::GenerateStubsAheadOfTime(isolate); |
| 1169 } | 1170 } |
| 1170 | 1171 |
| 1171 | 1172 |
| 1172 } } // namespace v8::internal | 1173 } } // namespace v8::internal |
| OLD | NEW |