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 663 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
674 | 674 |
675 Handle<Code> CompileLoadStringLength(Handle<String> name); | 675 Handle<Code> CompileLoadStringLength(Handle<String> name); |
676 | 676 |
677 Handle<Code> CompileLoadFunctionPrototype(Handle<String> name); | 677 Handle<Code> CompileLoadFunctionPrototype(Handle<String> name); |
678 | 678 |
679 Handle<Code> CompileLoadElement(Handle<Map> receiver_map); | 679 Handle<Code> CompileLoadElement(Handle<Map> receiver_map); |
680 | 680 |
681 Handle<Code> CompileLoadPolymorphic(MapHandleList* receiver_maps, | 681 Handle<Code> CompileLoadPolymorphic(MapHandleList* receiver_maps, |
682 CodeHandleList* handler_ics); | 682 CodeHandleList* handler_ics); |
683 | 683 |
| 684 static void GenerateLoadExternalArray(MacroAssembler* masm, |
| 685 ElementsKind elements_kind); |
| 686 |
| 687 static void GenerateLoadFastElement(MacroAssembler* masm); |
| 688 |
| 689 static void GenerateLoadFastDoubleElement(MacroAssembler* masm); |
| 690 |
684 static void GenerateLoadDictionaryElement(MacroAssembler* masm); | 691 static void GenerateLoadDictionaryElement(MacroAssembler* masm); |
685 | 692 |
686 private: | 693 private: |
687 Handle<Code> GetCode(Code::StubType type, | 694 Handle<Code> GetCode(Code::StubType type, |
688 Handle<String> name, | 695 Handle<String> name, |
689 InlineCacheState state = MONOMORPHIC); | 696 InlineCacheState state = MONOMORPHIC); |
690 }; | 697 }; |
691 | 698 |
692 | 699 |
693 class StoreStubCompiler: public StubCompiler { | 700 class StoreStubCompiler: public StubCompiler { |
(...skipping 233 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
927 Handle<JSFunction> constant_function_; | 934 Handle<JSFunction> constant_function_; |
928 bool is_simple_api_call_; | 935 bool is_simple_api_call_; |
929 Handle<FunctionTemplateInfo> expected_receiver_type_; | 936 Handle<FunctionTemplateInfo> expected_receiver_type_; |
930 Handle<CallHandlerInfo> api_call_info_; | 937 Handle<CallHandlerInfo> api_call_info_; |
931 }; | 938 }; |
932 | 939 |
933 | 940 |
934 } } // namespace v8::internal | 941 } } // namespace v8::internal |
935 | 942 |
936 #endif // V8_STUB_CACHE_H_ | 943 #endif // V8_STUB_CACHE_H_ |
OLD | NEW |