| 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 86 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 97                                Handle<JSObject> stub_holder, | 97                                Handle<JSObject> stub_holder, | 
| 98                                Code::Kind kind, | 98                                Code::Kind kind, | 
| 99                                Code::StubType type); | 99                                Code::StubType type); | 
| 100 | 100 | 
| 101   Handle<Code> FindStoreHandler(Handle<Name> name, | 101   Handle<Code> FindStoreHandler(Handle<Name> name, | 
| 102                                 Handle<JSObject> receiver, | 102                                 Handle<JSObject> receiver, | 
| 103                                 Code::Kind kind, | 103                                 Code::Kind kind, | 
| 104                                 Code::StubType type, | 104                                 Code::StubType type, | 
| 105                                 StrictModeFlag strict_mode); | 105                                 StrictModeFlag strict_mode); | 
| 106 | 106 | 
| 107   Handle<Code> ComputeMonomorphicLoadIC(Handle<HeapObject> receiver, | 107   Handle<Code> ComputeMonomorphicLoadIC(Handle<JSObject> receiver, | 
| 108                                         Handle<Code> handler, | 108                                         Handle<Code> handler, | 
| 109                                         Handle<Name> name); | 109                                         Handle<Name> name); | 
| 110 | 110 | 
| 111   Handle<Code> ComputeMonomorphicKeyedLoadIC(Handle<HeapObject> receiver, | 111   Handle<Code> ComputeMonomorphicKeyedLoadIC(Handle<JSObject> receiver, | 
| 112                                              Handle<Code> handler, | 112                                              Handle<Code> handler, | 
| 113                                              Handle<Name> name); | 113                                              Handle<Name> name); | 
| 114 | 114 | 
| 115   Handle<Code> ComputeMonomorphicStoreIC(Handle<HeapObject> receiver, | 115   Handle<Code> ComputeMonomorphicStoreIC(Handle<JSObject> receiver, | 
| 116                                          Handle<Code> handler, | 116                                          Handle<Code> handler, | 
| 117                                          Handle<Name> name, | 117                                          Handle<Name> name, | 
| 118                                          StrictModeFlag strict_mode); | 118                                          StrictModeFlag strict_mode); | 
| 119 | 119 | 
| 120   Handle<Code> ComputeMonomorphicKeyedStoreIC(Handle<HeapObject> receiver, | 120   Handle<Code> ComputeMonomorphicKeyedStoreIC(Handle<JSObject> receiver, | 
| 121                                               Handle<Code> handler, | 121                                               Handle<Code> handler, | 
| 122                                               Handle<Name> name, | 122                                               Handle<Name> name, | 
| 123                                               StrictModeFlag strict_mode); | 123                                               StrictModeFlag strict_mode); | 
| 124 | 124 | 
| 125   // Computes the right stub matching. Inserts the result in the | 125   // Computes the right stub matching. Inserts the result in the | 
| 126   // cache before returning.  This might compile a stub if needed. | 126   // cache before returning.  This might compile a stub if needed. | 
| 127   Handle<Code> ComputeLoadNonexistent(Handle<Name> name, | 127   Handle<Code> ComputeLoadNonexistent(Handle<Name> name, | 
| 128                                       Handle<JSObject> object); | 128                                       Handle<JSObject> object); | 
| 129 | 129 | 
| 130   Handle<Code> ComputeLoadField(Handle<Name> name, | 130   Handle<Code> ComputeLoadField(Handle<Name> name, | 
| (...skipping 1080 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 1211   Handle<JSFunction> constant_function_; | 1211   Handle<JSFunction> constant_function_; | 
| 1212   bool is_simple_api_call_; | 1212   bool is_simple_api_call_; | 
| 1213   Handle<FunctionTemplateInfo> expected_receiver_type_; | 1213   Handle<FunctionTemplateInfo> expected_receiver_type_; | 
| 1214   Handle<CallHandlerInfo> api_call_info_; | 1214   Handle<CallHandlerInfo> api_call_info_; | 
| 1215 }; | 1215 }; | 
| 1216 | 1216 | 
| 1217 | 1217 | 
| 1218 } }  // namespace v8::internal | 1218 } }  // namespace v8::internal | 
| 1219 | 1219 | 
| 1220 #endif  // V8_STUB_CACHE_H_ | 1220 #endif  // V8_STUB_CACHE_H_ | 
| OLD | NEW | 
|---|