OLD | NEW |
1 // Copyright 2011 the V8 project authors. All rights reserved. | 1 // Copyright 2011 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 623 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
634 MUST_USE_RESULT MaybeObject* CompileLoadInterceptor(JSObject* object, | 634 MUST_USE_RESULT MaybeObject* CompileLoadInterceptor(JSObject* object, |
635 JSObject* holder, | 635 JSObject* holder, |
636 String* name); | 636 String* name); |
637 | 637 |
638 MUST_USE_RESULT MaybeObject* CompileLoadArrayLength(String* name); | 638 MUST_USE_RESULT MaybeObject* CompileLoadArrayLength(String* name); |
639 MUST_USE_RESULT MaybeObject* CompileLoadStringLength(String* name); | 639 MUST_USE_RESULT MaybeObject* CompileLoadStringLength(String* name); |
640 MUST_USE_RESULT MaybeObject* CompileLoadFunctionPrototype(String* name); | 640 MUST_USE_RESULT MaybeObject* CompileLoadFunctionPrototype(String* name); |
641 | 641 |
642 MUST_USE_RESULT MaybeObject* CompileLoadElement(Map* receiver_map); | 642 MUST_USE_RESULT MaybeObject* CompileLoadElement(Map* receiver_map); |
643 | 643 |
644 MUST_USE_RESULT MaybeObject* CompileLoadMegamorphic( | 644 MUST_USE_RESULT MaybeObject* CompileLoadPolymorphic( |
645 MapList* receiver_maps, | 645 MapList* receiver_maps, |
646 CodeList* handler_ics); | 646 CodeList* handler_ics); |
647 | 647 |
648 static void GenerateLoadExternalArray(MacroAssembler* masm, | 648 static void GenerateLoadExternalArray(MacroAssembler* masm, |
649 ElementsKind elements_kind); | 649 ElementsKind elements_kind); |
650 | 650 |
651 static void GenerateLoadFastElement(MacroAssembler* masm); | 651 static void GenerateLoadFastElement(MacroAssembler* masm); |
652 | 652 |
653 static void GenerateLoadFastDoubleElement(MacroAssembler* masm); | 653 static void GenerateLoadFastDoubleElement(MacroAssembler* masm); |
654 | 654 |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
693 explicit KeyedStoreStubCompiler(StrictModeFlag strict_mode) | 693 explicit KeyedStoreStubCompiler(StrictModeFlag strict_mode) |
694 : strict_mode_(strict_mode) { } | 694 : strict_mode_(strict_mode) { } |
695 | 695 |
696 MUST_USE_RESULT MaybeObject* CompileStoreField(JSObject* object, | 696 MUST_USE_RESULT MaybeObject* CompileStoreField(JSObject* object, |
697 int index, | 697 int index, |
698 Map* transition, | 698 Map* transition, |
699 String* name); | 699 String* name); |
700 | 700 |
701 MUST_USE_RESULT MaybeObject* CompileStoreElement(Map* receiver_map); | 701 MUST_USE_RESULT MaybeObject* CompileStoreElement(Map* receiver_map); |
702 | 702 |
703 MUST_USE_RESULT MaybeObject* CompileStoreElementWithTransition( | 703 MUST_USE_RESULT MaybeObject* CompileStorePolymorphic( |
704 Map* transitioned_map, | |
705 Map* untransitioned_map_1, | |
706 Map* untransitioned_map_2 = NULL); | |
707 | |
708 MUST_USE_RESULT MaybeObject* CompileStoreMegamorphic( | |
709 MapList* receiver_maps, | 704 MapList* receiver_maps, |
710 CodeList* handler_ics); | 705 CodeList* handler_stubs, |
| 706 MapList* transitioned_maps); |
711 | 707 |
712 static void GenerateStoreFastElement(MacroAssembler* masm, | 708 static void GenerateStoreFastElement(MacroAssembler* masm, |
713 bool is_js_array, | 709 bool is_js_array, |
714 ElementsKind element_kind); | 710 ElementsKind element_kind); |
715 | 711 |
716 static void GenerateStoreFastDoubleElement(MacroAssembler* masm, | 712 static void GenerateStoreFastDoubleElement(MacroAssembler* masm, |
717 bool is_js_array); | 713 bool is_js_array); |
718 | 714 |
719 static void GenerateStoreExternalArray(MacroAssembler* masm, | 715 static void GenerateStoreExternalArray(MacroAssembler* masm, |
720 ElementsKind elements_kind); | 716 ElementsKind elements_kind); |
(...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
893 JSFunction* constant_function_; | 889 JSFunction* constant_function_; |
894 bool is_simple_api_call_; | 890 bool is_simple_api_call_; |
895 FunctionTemplateInfo* expected_receiver_type_; | 891 FunctionTemplateInfo* expected_receiver_type_; |
896 CallHandlerInfo* api_call_info_; | 892 CallHandlerInfo* api_call_info_; |
897 }; | 893 }; |
898 | 894 |
899 | 895 |
900 } } // namespace v8::internal | 896 } } // namespace v8::internal |
901 | 897 |
902 #endif // V8_STUB_CACHE_H_ | 898 #endif // V8_STUB_CACHE_H_ |
OLD | NEW |