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

Side by Side Diff: src/objects.h

Issue 220923003: Lazily initialize the target map list in IC. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 8 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
« src/ic.cc ('K') | « src/ic.cc ('k') | src/objects.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 5389 matching lines...) Expand 10 before | Expand all | Expand 10 after
5400 5400
5401 // Find an object in a stub with a specified map 5401 // Find an object in a stub with a specified map
5402 Object* FindNthObject(int n, Map* match_map); 5402 Object* FindNthObject(int n, Map* match_map);
5403 5403
5404 // Find the first allocation site in an IC stub. 5404 // Find the first allocation site in an IC stub.
5405 AllocationSite* FindFirstAllocationSite(); 5405 AllocationSite* FindFirstAllocationSite();
5406 5406
5407 // Find the first map in an IC stub. 5407 // Find the first map in an IC stub.
5408 Map* FindFirstMap(); 5408 Map* FindFirstMap();
5409 void FindAllMaps(MapHandleList* maps); 5409 void FindAllMaps(MapHandleList* maps);
5410 void FindAllTypes(TypeHandleList* types);
5411 5410
5412 // Find the first handler in an IC stub. 5411 // Find the first handler in an IC stub.
5413 Code* FindFirstHandler(); 5412 Code* FindFirstHandler();
5414 5413
5415 // Find |length| handlers and put them into |code_list|. Returns false if not 5414 // Find |length| handlers and put them into |code_list|. Returns false if not
5416 // enough handlers can be found. 5415 // enough handlers can be found.
5417 bool FindHandlers(CodeHandleList* code_list, int length = -1); 5416 bool FindHandlers(CodeHandleList* code_list, int length = -1);
5418 5417
5419 // Find the first name in an IC stub. 5418 // Find the first name in an IC stub.
5420 Name* FindFirstName(); 5419 Name* FindFirstName();
(...skipping 5407 matching lines...) Expand 10 before | Expand all | Expand 10 after
10828 } else { 10827 } else {
10829 value &= ~(1 << bit_position); 10828 value &= ~(1 << bit_position);
10830 } 10829 }
10831 return value; 10830 return value;
10832 } 10831 }
10833 }; 10832 };
10834 10833
10835 } } // namespace v8::internal 10834 } } // namespace v8::internal
10836 10835
10837 #endif // V8_OBJECTS_H_ 10836 #endif // V8_OBJECTS_H_
OLDNEW
« src/ic.cc ('K') | « src/ic.cc ('k') | src/objects.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698