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 519 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
530 code->set_handler_table(*handler_table); | 530 code->set_handler_table(*handler_table); |
531 } | 531 } |
532 | 532 |
533 | 533 |
534 void KeyedLoadDictionaryElementPlatformStub::Generate( | 534 void KeyedLoadDictionaryElementPlatformStub::Generate( |
535 MacroAssembler* masm) { | 535 MacroAssembler* masm) { |
536 KeyedLoadStubCompiler::GenerateLoadDictionaryElement(masm); | 536 KeyedLoadStubCompiler::GenerateLoadDictionaryElement(masm); |
537 } | 537 } |
538 | 538 |
539 | 539 |
540 void CreateAllocationSiteStub::GenerateAheadOfTime(Isolate* isolate) { | |
541 CreateAllocationSiteStub stub; | |
542 stub.GetCode(isolate); | |
543 } | |
544 | |
545 | |
546 void KeyedStoreElementStub::Generate(MacroAssembler* masm) { | 540 void KeyedStoreElementStub::Generate(MacroAssembler* masm) { |
547 switch (elements_kind_) { | 541 switch (elements_kind_) { |
548 case FAST_ELEMENTS: | 542 case FAST_ELEMENTS: |
549 case FAST_HOLEY_ELEMENTS: | 543 case FAST_HOLEY_ELEMENTS: |
550 case FAST_SMI_ELEMENTS: | 544 case FAST_SMI_ELEMENTS: |
551 case FAST_HOLEY_SMI_ELEMENTS: | 545 case FAST_HOLEY_SMI_ELEMENTS: |
552 case FAST_DOUBLE_ELEMENTS: | 546 case FAST_DOUBLE_ELEMENTS: |
553 case FAST_HOLEY_DOUBLE_ELEMENTS: | 547 case FAST_HOLEY_DOUBLE_ELEMENTS: |
554 #define TYPED_ARRAY_CASE(Type, type, TYPE, ctype, size) \ | 548 #define TYPED_ARRAY_CASE(Type, type, TYPE, ctype, size) \ |
555 case EXTERNAL_##TYPE##_ELEMENTS: \ | 549 case EXTERNAL_##TYPE##_ELEMENTS: \ |
(...skipping 250 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
806 InstallDescriptor(isolate, &stub3); | 800 InstallDescriptor(isolate, &stub3); |
807 } | 801 } |
808 | 802 |
809 InternalArrayConstructorStub::InternalArrayConstructorStub( | 803 InternalArrayConstructorStub::InternalArrayConstructorStub( |
810 Isolate* isolate) { | 804 Isolate* isolate) { |
811 InternalArrayConstructorStubBase::GenerateStubsAheadOfTime(isolate); | 805 InternalArrayConstructorStubBase::GenerateStubsAheadOfTime(isolate); |
812 } | 806 } |
813 | 807 |
814 | 808 |
815 } } // namespace v8::internal | 809 } } // namespace v8::internal |
OLD | NEW |