Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1368)

Side by Side Diff: src/stub-cache.h

Issue 14847008: Update deprecated maps before generating optimized code. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Addressed comment Created 7 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « src/objects-inl.h ('k') | src/stub-cache.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 293 matching lines...) Expand 10 before | Expand all | Expand 10 after
304 #endif 304 #endif
305 305
306 // Update cache for entry hash(name, map). 306 // Update cache for entry hash(name, map).
307 Code* Set(Name* name, Map* map, Code* code); 307 Code* Set(Name* name, Map* map, Code* code);
308 308
309 // Clear the lookup table (@ mark compact collection). 309 // Clear the lookup table (@ mark compact collection).
310 void Clear(); 310 void Clear();
311 311
312 // Collect all maps that match the name and flags. 312 // Collect all maps that match the name and flags.
313 void CollectMatchingMaps(SmallMapList* types, 313 void CollectMatchingMaps(SmallMapList* types,
314 Name* name, 314 Handle<Name> name,
315 Code::Flags flags, 315 Code::Flags flags,
316 Handle<Context> native_context, 316 Handle<Context> native_context,
317 Zone* zone); 317 Zone* zone);
318 318
319 // Generate code for probing the stub cache table. 319 // Generate code for probing the stub cache table.
320 // Arguments extra, extra2 and extra3 may be used to pass additional scratch 320 // Arguments extra, extra2 and extra3 may be used to pass additional scratch
321 // registers. Set to no_reg if not needed. 321 // registers. Set to no_reg if not needed.
322 void GenerateProbe(MacroAssembler* masm, 322 void GenerateProbe(MacroAssembler* masm,
323 Code::Flags flags, 323 Code::Flags flags,
324 Register receiver, 324 Register receiver,
(...skipping 789 matching lines...) Expand 10 before | Expand all | Expand 10 after
1114 Handle<JSFunction> constant_function_; 1114 Handle<JSFunction> constant_function_;
1115 bool is_simple_api_call_; 1115 bool is_simple_api_call_;
1116 Handle<FunctionTemplateInfo> expected_receiver_type_; 1116 Handle<FunctionTemplateInfo> expected_receiver_type_;
1117 Handle<CallHandlerInfo> api_call_info_; 1117 Handle<CallHandlerInfo> api_call_info_;
1118 }; 1118 };
1119 1119
1120 1120
1121 } } // namespace v8::internal 1121 } } // namespace v8::internal
1122 1122
1123 #endif // V8_STUB_CACHE_H_ 1123 #endif // V8_STUB_CACHE_H_
OLDNEW
« no previous file with comments | « src/objects-inl.h ('k') | src/stub-cache.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698