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 243 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
254 // Update cache for entry hash(name, map). | 254 // Update cache for entry hash(name, map). |
255 Code* Set(String* name, Map* map, Code* code); | 255 Code* Set(String* name, Map* map, Code* code); |
256 | 256 |
257 // Clear the lookup table (@ mark compact collection). | 257 // Clear the lookup table (@ mark compact collection). |
258 void Clear(); | 258 void Clear(); |
259 | 259 |
260 // Collect all maps that match the name and flags. | 260 // Collect all maps that match the name and flags. |
261 void CollectMatchingMaps(SmallMapList* types, | 261 void CollectMatchingMaps(SmallMapList* types, |
262 String* name, | 262 String* name, |
263 Code::Flags flags, | 263 Code::Flags flags, |
264 Handle<Context> global_context, | 264 Handle<Context> native_context, |
265 Zone* zone); | 265 Zone* zone); |
266 | 266 |
267 // Generate code for probing the stub cache table. | 267 // Generate code for probing the stub cache table. |
268 // Arguments extra, extra2 and extra3 may be used to pass additional scratch | 268 // Arguments extra, extra2 and extra3 may be used to pass additional scratch |
269 // registers. Set to no_reg if not needed. | 269 // registers. Set to no_reg if not needed. |
270 void GenerateProbe(MacroAssembler* masm, | 270 void GenerateProbe(MacroAssembler* masm, |
271 Code::Flags flags, | 271 Code::Flags flags, |
272 Register receiver, | 272 Register receiver, |
273 Register name, | 273 Register name, |
274 Register scratch, | 274 Register scratch, |
(...skipping 651 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
926 Handle<JSFunction> constant_function_; | 926 Handle<JSFunction> constant_function_; |
927 bool is_simple_api_call_; | 927 bool is_simple_api_call_; |
928 Handle<FunctionTemplateInfo> expected_receiver_type_; | 928 Handle<FunctionTemplateInfo> expected_receiver_type_; |
929 Handle<CallHandlerInfo> api_call_info_; | 929 Handle<CallHandlerInfo> api_call_info_; |
930 }; | 930 }; |
931 | 931 |
932 | 932 |
933 } } // namespace v8::internal | 933 } } // namespace v8::internal |
934 | 934 |
935 #endif // V8_STUB_CACHE_H_ | 935 #endif // V8_STUB_CACHE_H_ |
OLD | NEW |