| 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 811 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 822 | 822 |
| 823 static void GenerateStoreFastElement(MacroAssembler* masm, | 823 static void GenerateStoreFastElement(MacroAssembler* masm, |
| 824 bool is_js_array, | 824 bool is_js_array, |
| 825 ElementsKind element_kind, | 825 ElementsKind element_kind, |
| 826 KeyedAccessStoreMode store_mode); | 826 KeyedAccessStoreMode store_mode); |
| 827 | 827 |
| 828 static void GenerateStoreFastDoubleElement(MacroAssembler* masm, | 828 static void GenerateStoreFastDoubleElement(MacroAssembler* masm, |
| 829 bool is_js_array, | 829 bool is_js_array, |
| 830 KeyedAccessStoreMode store_mode); | 830 KeyedAccessStoreMode store_mode); |
| 831 | 831 |
| 832 static void GenerateStoreExternalArray(MacroAssembler* masm, | |
| 833 ElementsKind elements_kind); | |
| 834 | |
| 835 static void GenerateStoreDictionaryElement(MacroAssembler* masm); | 832 static void GenerateStoreDictionaryElement(MacroAssembler* masm); |
| 836 | 833 |
| 837 private: | 834 private: |
| 838 Handle<Code> GetCode(Code::StubType type, | 835 Handle<Code> GetCode(Code::StubType type, |
| 839 Handle<Name> name, | 836 Handle<Name> name, |
| 840 InlineCacheState state = MONOMORPHIC); | 837 InlineCacheState state = MONOMORPHIC); |
| 841 | 838 |
| 842 StrictModeFlag strict_mode_; | 839 StrictModeFlag strict_mode_; |
| 843 KeyedAccessStoreMode store_mode_; | 840 KeyedAccessStoreMode store_mode_; |
| 844 }; | 841 }; |
| (...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1007 Handle<JSFunction> constant_function_; | 1004 Handle<JSFunction> constant_function_; |
| 1008 bool is_simple_api_call_; | 1005 bool is_simple_api_call_; |
| 1009 Handle<FunctionTemplateInfo> expected_receiver_type_; | 1006 Handle<FunctionTemplateInfo> expected_receiver_type_; |
| 1010 Handle<CallHandlerInfo> api_call_info_; | 1007 Handle<CallHandlerInfo> api_call_info_; |
| 1011 }; | 1008 }; |
| 1012 | 1009 |
| 1013 | 1010 |
| 1014 } } // namespace v8::internal | 1011 } } // namespace v8::internal |
| 1015 | 1012 |
| 1016 #endif // V8_STUB_CACHE_H_ | 1013 #endif // V8_STUB_CACHE_H_ |
| OLD | NEW |