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 | |
691 static void GenerateLoadDictionaryElement(MacroAssembler* masm); | 684 static void GenerateLoadDictionaryElement(MacroAssembler* masm); |
692 | 685 |
693 private: | 686 private: |
694 Handle<Code> GetCode(Code::StubType type, | 687 Handle<Code> GetCode(Code::StubType type, |
695 Handle<String> name, | 688 Handle<String> name, |
696 InlineCacheState state = MONOMORPHIC); | 689 InlineCacheState state = MONOMORPHIC); |
697 }; | 690 }; |
698 | 691 |
699 | 692 |
700 class StoreStubCompiler: public StubCompiler { | 693 class StoreStubCompiler: public StubCompiler { |
(...skipping 233 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
934 Handle<JSFunction> constant_function_; | 927 Handle<JSFunction> constant_function_; |
935 bool is_simple_api_call_; | 928 bool is_simple_api_call_; |
936 Handle<FunctionTemplateInfo> expected_receiver_type_; | 929 Handle<FunctionTemplateInfo> expected_receiver_type_; |
937 Handle<CallHandlerInfo> api_call_info_; | 930 Handle<CallHandlerInfo> api_call_info_; |
938 }; | 931 }; |
939 | 932 |
940 | 933 |
941 } } // namespace v8::internal | 934 } } // namespace v8::internal |
942 | 935 |
943 #endif // V8_STUB_CACHE_H_ | 936 #endif // V8_STUB_CACHE_H_ |
OLD | NEW |