| 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 642 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  653   MUST_USE_RESULT MaybeObject* CompileLoadStringLength(String* name); |  653   MUST_USE_RESULT MaybeObject* CompileLoadStringLength(String* name); | 
|  654   MUST_USE_RESULT MaybeObject* CompileLoadFunctionPrototype(String* name); |  654   MUST_USE_RESULT MaybeObject* CompileLoadFunctionPrototype(String* name); | 
|  655  |  655  | 
|  656   MUST_USE_RESULT MaybeObject* CompileLoadElement(Map* receiver_map); |  656   MUST_USE_RESULT MaybeObject* CompileLoadElement(Map* receiver_map); | 
|  657  |  657  | 
|  658   MUST_USE_RESULT MaybeObject* CompileLoadMegamorphic( |  658   MUST_USE_RESULT MaybeObject* CompileLoadMegamorphic( | 
|  659       MapList* receiver_maps, |  659       MapList* receiver_maps, | 
|  660       CodeList* handler_ics); |  660       CodeList* handler_ics); | 
|  661  |  661  | 
|  662   static void GenerateLoadExternalArray(MacroAssembler* masm, |  662   static void GenerateLoadExternalArray(MacroAssembler* masm, | 
|  663                                         JSObject::ElementsKind elements_kind); |  663                                         ElementsKind elements_kind); | 
|  664  |  664  | 
|  665   static void GenerateLoadFastElement(MacroAssembler* masm); |  665   static void GenerateLoadFastElement(MacroAssembler* masm); | 
|  666  |  666  | 
|  667   static void GenerateLoadFastDoubleElement(MacroAssembler* masm); |  667   static void GenerateLoadFastDoubleElement(MacroAssembler* masm); | 
|  668  |  668  | 
|  669   static void GenerateLoadDictionaryElement(MacroAssembler* masm); |  669   static void GenerateLoadDictionaryElement(MacroAssembler* masm); | 
|  670  |  670  | 
|  671  private: |  671  private: | 
|  672   MaybeObject* GetCode(PropertyType type, |  672   MaybeObject* GetCode(PropertyType type, | 
|  673                        String* name, |  673                        String* name, | 
| (...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  718       MapList* receiver_maps, |  718       MapList* receiver_maps, | 
|  719       CodeList* handler_ics); |  719       CodeList* handler_ics); | 
|  720  |  720  | 
|  721   static void GenerateStoreFastElement(MacroAssembler* masm, |  721   static void GenerateStoreFastElement(MacroAssembler* masm, | 
|  722                                        bool is_js_array); |  722                                        bool is_js_array); | 
|  723  |  723  | 
|  724   static void GenerateStoreFastDoubleElement(MacroAssembler* masm, |  724   static void GenerateStoreFastDoubleElement(MacroAssembler* masm, | 
|  725                                              bool is_js_array); |  725                                              bool is_js_array); | 
|  726  |  726  | 
|  727   static void GenerateStoreExternalArray(MacroAssembler* masm, |  727   static void GenerateStoreExternalArray(MacroAssembler* masm, | 
|  728                                          JSObject::ElementsKind elements_kind); |  728                                          ElementsKind elements_kind); | 
|  729  |  729  | 
|  730   static void GenerateStoreDictionaryElement(MacroAssembler* masm); |  730   static void GenerateStoreDictionaryElement(MacroAssembler* masm); | 
|  731  |  731  | 
|  732  private: |  732  private: | 
|  733   MaybeObject* GetCode(PropertyType type, |  733   MaybeObject* GetCode(PropertyType type, | 
|  734                        String* name, |  734                        String* name, | 
|  735                        InlineCacheState state = MONOMORPHIC); |  735                        InlineCacheState state = MONOMORPHIC); | 
|  736  |  736  | 
|  737   StrictModeFlag strict_mode_; |  737   StrictModeFlag strict_mode_; | 
|  738 }; |  738 }; | 
| (...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  903   JSFunction* constant_function_; |  903   JSFunction* constant_function_; | 
|  904   bool is_simple_api_call_; |  904   bool is_simple_api_call_; | 
|  905   FunctionTemplateInfo* expected_receiver_type_; |  905   FunctionTemplateInfo* expected_receiver_type_; | 
|  906   CallHandlerInfo* api_call_info_; |  906   CallHandlerInfo* api_call_info_; | 
|  907 }; |  907 }; | 
|  908  |  908  | 
|  909  |  909  | 
|  910 } }  // namespace v8::internal |  910 } }  // namespace v8::internal | 
|  911  |  911  | 
|  912 #endif  // V8_STUB_CACHE_H_ |  912 #endif  // V8_STUB_CACHE_H_ | 
| OLD | NEW |