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

Side by Side Diff: src/objects.h

Issue 62953007: Handle all object types (minus smi) in load/store ICs (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Addressed commentsx Created 7 years, 1 month 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/ic-inl.h ('k') | src/objects-inl.h » ('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 5234 matching lines...) Expand 10 before | Expand all | Expand 10 after
5245 Kind kind, 5245 Kind kind,
5246 InlineCacheState ic_state = UNINITIALIZED, 5246 InlineCacheState ic_state = UNINITIALIZED,
5247 ExtraICState extra_ic_state = kNoExtraICState, 5247 ExtraICState extra_ic_state = kNoExtraICState,
5248 StubType type = NORMAL, 5248 StubType type = NORMAL,
5249 int argc = -1, 5249 int argc = -1,
5250 InlineCacheHolderFlag holder = OWN_MAP); 5250 InlineCacheHolderFlag holder = OWN_MAP);
5251 5251
5252 static inline Flags ComputeMonomorphicFlags( 5252 static inline Flags ComputeMonomorphicFlags(
5253 Kind kind, 5253 Kind kind,
5254 ExtraICState extra_ic_state = kNoExtraICState, 5254 ExtraICState extra_ic_state = kNoExtraICState,
5255 InlineCacheHolderFlag holder = OWN_MAP,
5255 StubType type = NORMAL, 5256 StubType type = NORMAL,
5256 int argc = -1, 5257 int argc = -1);
5257 InlineCacheHolderFlag holder = OWN_MAP);
5258 5258
5259 static inline InlineCacheState ExtractICStateFromFlags(Flags flags); 5259 static inline InlineCacheState ExtractICStateFromFlags(Flags flags);
5260 static inline StubType ExtractTypeFromFlags(Flags flags); 5260 static inline StubType ExtractTypeFromFlags(Flags flags);
5261 static inline Kind ExtractKindFromFlags(Flags flags); 5261 static inline Kind ExtractKindFromFlags(Flags flags);
5262 static inline InlineCacheHolderFlag ExtractCacheHolderFromFlags(Flags flags); 5262 static inline InlineCacheHolderFlag ExtractCacheHolderFromFlags(Flags flags);
5263 static inline ExtraICState ExtractExtraICStateFromFlags(Flags flags); 5263 static inline ExtraICState ExtractExtraICStateFromFlags(Flags flags);
5264 static inline ExtraICState ExtractExtendedExtraICStateFromFlags(Flags flags); 5264 static inline ExtraICState ExtractExtendedExtraICStateFromFlags(Flags flags);
5265 static inline int ExtractArgumentsCountFromFlags(Flags flags); 5265 static inline int ExtractArgumentsCountFromFlags(Flags flags);
5266 5266
5267 static inline Flags RemoveTypeFromFlags(Flags flags); 5267 static inline Flags RemoveTypeFromFlags(Flags flags);
(...skipping 5212 matching lines...) Expand 10 before | Expand all | Expand 10 after
10480 } else { 10480 } else {
10481 value &= ~(1 << bit_position); 10481 value &= ~(1 << bit_position);
10482 } 10482 }
10483 return value; 10483 return value;
10484 } 10484 }
10485 }; 10485 };
10486 10486
10487 } } // namespace v8::internal 10487 } } // namespace v8::internal
10488 10488
10489 #endif // V8_OBJECTS_H_ 10489 #endif // V8_OBJECTS_H_
OLDNEW
« no previous file with comments | « src/ic-inl.h ('k') | src/objects-inl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698